Менеджер сценариев работает

This commit is contained in:
2020-03-22 14:35:16 +03:00
parent 65161271bb
commit 7388fece07
5 changed files with 19 additions and 6 deletions

View File

@@ -119,7 +119,6 @@ def get_user_scripts(current_user_id):
def delete_scenario(scenario_id):
print(scenario_id)
scenario = Scenario.query.filter_by(id=scenario_id).first()
db.session.delete(scenario)
db.session.commit()