From a87517a0b385f1a68dd80e7dabf7843955c95ab9 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Sun, 30 Jun 2019 11:12:05 +0100 Subject: Style fixes --- library.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'library.py') diff --git a/library.py b/library.py index c03c858..2e05fc2 100755 --- a/library.py +++ b/library.py @@ -12,14 +12,15 @@ from six.moves import configparser, range from db.db_manager import DbManager from models.track import Track - logging.basicConfig(format="%(asctime)s %(message)s", level=logging.DEBUG) _LOGGER = logging.getLogger(__name__) if six.PY2: + def _u(string): return unicode(string, encoding="utf_8") else: + def _u(string): return string -- cgit v1.2.3