FE:shortcuts,monacoeditor for stratvars

This commit is contained in:
David Brazda
2023-09-19 14:07:12 +02:00
parent c05a1d0936
commit 2838c277dc
7 changed files with 235 additions and 48 deletions

View File

@ -823,8 +823,8 @@ def delete_archived_runners_byID(id: UUID):
print("log deleted",resl.rowcount)
conn.commit()
print("commit")
if resh.rowcount == 0 or resd.rowcount == 0:
return -1, "not found "+str(resh.rowcount) + " " + str(resd.rowcount) + " " + str(resl.rowcount)
# if resh.rowcount == 0 or resd.rowcount == 0:
# return -1, "not found "+str(resh.rowcount) + " " + str(resd.rowcount) + " " + str(resl.rowcount)
return 0, str(resh.rowcount) + " " + str(resd.rowcount) + " " + str(resl.rowcount)
except Exception as e: