Fix for gevent as optional
This commit is contained in:
@@ -315,7 +315,7 @@ class Config:
|
||||
else:
|
||||
self.config_google_drive_watch_changes_response=None
|
||||
self.config_columns_to_ignore = data.config_columns_to_ignore
|
||||
if (self.config_calibre_dir is not None and not self.config_use_google_drive) or os.path.exists(self.config_calibre_dir + '/metadata.db'):
|
||||
if self.config_calibre_dir is not None and (not self.config_use_google_drive or os.path.exists(self.config_calibre_dir + '/metadata.db')):
|
||||
self.db_configured = True
|
||||
else:
|
||||
self.db_configured = False
|
||||
|
||||
Reference in New Issue
Block a user