Адаптация вариантов использования системы под модули Database и cache
This commit is contained in:
@@ -5,7 +5,7 @@ from datetime import date
|
||||
from .report_model import view_report_model, create_report_model
|
||||
import json
|
||||
|
||||
with open(path.join(path.dirname(__file__), 'reports.json')) as f:
|
||||
with open(path.join(path.dirname(__file__), 'reports.json'), encoding='utf-8') as f:
|
||||
report_list = json.load(f)
|
||||
|
||||
report_bp = Blueprint('report_bp', __name__, template_folder='templates')
|
||||
|
||||
Reference in New Issue
Block a user