1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-09 03:33:02 +00:00

Code cosmetics

This commit is contained in:
OzzieIsaacs
2017-03-30 21:17:18 +02:00
parent 78067b87bc
commit 986f40b80a
9 changed files with 80 additions and 78 deletions

View File

@@ -508,7 +508,6 @@ def create_anonymous_user():
session.commit()
except Exception:
session.rollback()
pass
# Generate User admin with admin123 password, and access to everything
@@ -525,7 +524,7 @@ def create_admin_user():
session.add(user)
try:
session.commit()
except Exception as e:
except Exception:
session.rollback()
pass