fixed custom columns handling on dispose

This commit is contained in:
Daniel Pavel
2019-07-17 11:42:19 +03:00
parent 99c6247baf
commit 847dbfc021
6 changed files with 3 additions and 10 deletions
+1 -3
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)
@@ -134,8 +133,7 @@ def get_locale():
@babel.timezoneselector
def get_timezone():
user = getattr(g, 'user', None)
if user is not None:
return user.timezone
return user.timezone if user else None
from .updater import Updater
updater_thread = Updater()