DmitrMakeev commited on
Commit
52e8fd4
·
verified ·
1 Parent(s): a76ef17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -292,7 +292,7 @@ def save_settings(settings_dict):
292
  ))
293
 
294
  conn.commit()
295
- conn.close()
296
  # Обновляем глобальные переменные
297
  api_key_auth = settings_dict.get('api_key_auth', '')
298
  crypto_key_auth = settings_dict.get('crypto_key_auth', '')
@@ -315,7 +315,7 @@ def save_settings(settings_dict):
315
  print(f"crypto_key_url: {crypto_key_url}")
316
  print(f"curators: {curators}")
317
  print(f"call_api_key: {call_api_key}")
318
-
319
 
320
 
321
  @app.route('/load_settings', methods=['POST'])
 
292
  ))
293
 
294
  conn.commit()
295
+
296
  # Обновляем глобальные переменные
297
  api_key_auth = settings_dict.get('api_key_auth', '')
298
  crypto_key_auth = settings_dict.get('crypto_key_auth', '')
 
315
  print(f"crypto_key_url: {crypto_key_url}")
316
  print(f"curators: {curators}")
317
  print(f"call_api_key: {call_api_key}")
318
+ conn.close()
319
 
320
 
321
  @app.route('/load_settings', methods=['POST'])