mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-24 16:52:06 +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'))
|
||||
c = db.cursor()
|
||||
c.execute("SELECT log_level FROM table_settings_general")
|
||||
c.close()
|
||||
log_level = c.fetchone()
|
||||
c.close()
|
||||
log_level = log_level[0]
|
||||
if log_level is None:
|
||||
log_level = "INFO"
|
||||
|
|
Loading…
Reference in a new issue