mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
Small mistake...
This commit is contained in:
parent
e77e556610
commit
6aa561c0c3
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue