1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 01:02:19 +00:00

Small mistake...

This commit is contained in:
Louis Vézina 2017-11-30 14:35:03 -05:00
parent e77e556610
commit 6aa561c0c3

View file

@ -41,8 +41,8 @@ logger = logging.getLogger('waitress')
db = sqlite3.connect(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db')) db = sqlite3.connect(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'))
c = db.cursor() c = db.cursor()
c.execute("SELECT log_level FROM table_settings_general") c.execute("SELECT log_level FROM table_settings_general")
c.close()
log_level = c.fetchone() log_level = c.fetchone()
c.close()
log_level = log_level[0] log_level = log_level[0]
if log_level is None: if log_level is None:
log_level = "INFO" log_level = "INFO"