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

Code cosmetics

This commit is contained in:
OzzieIsaacs
2017-04-02 10:05:07 +02:00
parent 66181daf6d
commit 7c6d527a55
17 changed files with 254 additions and 255 deletions

View File

@@ -93,9 +93,11 @@ class UserBase:
else:
return False
@staticmethod
def is_active(self):
return True
@staticmethod
def is_anonymous(self):
return False
@@ -526,7 +528,6 @@ def create_admin_user():
session.commit()
except Exception:
session.rollback()
pass
# Open session for database connection