Bugfix Restart and Stop server on python3

This commit is contained in:
Ozzieisaacs
2019-01-21 21:01:16 +01:00
parent 836c6fd245
commit 341dd77b9d
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -132,6 +132,7 @@ except ImportError:
# Global variables
current_milli_time = lambda: int(round(time.time() * 1000))
gdrive_watch_callback_token = 'target=calibreweb-watch_files'
py3_gevent_link = None
EXTENSIONS_UPLOAD = {'txt', 'pdf', 'epub', 'mobi', 'azw', 'azw3', 'cbr', 'cbz', 'cbt', 'djvu', 'prc', 'doc', 'docx',
'fb2', 'html', 'rtf', 'odt'}
EXTENSIONS_CONVERT = {'pdf', 'epub', 'mobi', 'azw3', 'docx', 'rtf', 'fb2', 'lit', 'lrf', 'txt', 'htmlz'}