From 6aa561c0c392f26c43e6ae94a5c1d41ac7481891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 30 Nov 2017 14:35:03 -0500 Subject: [PATCH] Small mistake... --- bazarr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr.py b/bazarr.py index 5309c4b11..9545c9e03 100644 --- a/bazarr.py +++ b/bazarr.py @@ -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"