DmitrMakeev commited on
Commit
2ecd482
·
verified ·
1 Parent(s): 1422c40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1653,7 +1653,7 @@ mt_tl = {
1653
  }
1654
 
1655
  # Словарь для сопоставления ключей с шаблонами
1656
- mapping_templates = {
1657
  'avp': mt_avp,
1658
  'bhelp': mt_bhelp,
1659
  'gc': mt_gc,
@@ -1747,7 +1747,7 @@ def add_data_ver_cur():
1747
  template_key = request.args.get('template_key', 'avp')
1748
 
1749
  # Выбираем соответствующий шаблон
1750
- mapping_template_cur = mapping_templates.get(template_key, mt_avp)
1751
 
1752
  # Получаем данные пользователя из параметров запроса
1753
  user_data = {key: request.args.get(key, "") for key in mapping_template_cur.keys()}
 
1653
  }
1654
 
1655
  # Словарь для сопоставления ключей с шаблонами
1656
+ mapp_templates = {
1657
  'avp': mt_avp,
1658
  'bhelp': mt_bhelp,
1659
  'gc': mt_gc,
 
1747
  template_key = request.args.get('template_key', 'avp')
1748
 
1749
  # Выбираем соответствующий шаблон
1750
+ mapping_template_cur = mapp_templates.get(template_key, mt_avp)
1751
 
1752
  # Получаем данные пользователя из параметров запроса
1753
  user_data = {key: request.args.get(key, "") for key in mapping_template_cur.keys()}