Compare commits

..

2 Commits

Author SHA1 Message Date
f711b3be90
gitignore and nothing 2021-06-14 15:14:07 +02:00
9f47a5cfe1
fix 2021-03-01 18:04:00 +01:00
3 changed files with 7 additions and 2 deletions

6
.gitignore vendored
View File

@ -1,2 +1,6 @@
__pycache__/
ENV
ENV
*~
~*
.*~

View File

@ -103,7 +103,7 @@ def call(procName):
cur = dbh.cursor(dictionary=True)
cur.execute("CALL {}(null)".format(procName))
dbh.commit()
return "{} successfully called {}".format(procName), 202
return "{} successfully called".format(procName), 202
except mariadb.Error as err:
dbh.rollback()
print("Database error in call {}: {}".format(procName, err))

View File

@ -4,3 +4,4 @@ wsgi-file = server.py
processes = 4
stats = :9191