summaryrefslogtreecommitdiff
path: root/library.py
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@gmail.com>2019-06-30 11:12:05 +0100
committerMichaël Ball <michael.ball@gmail.com>2019-06-30 11:12:05 +0100
commita87517a0b385f1a68dd80e7dabf7843955c95ab9 (patch)
tree696f1e2a45ab7c0db57ce562517790cb73247b53 /library.py
parent1acbc1e85d6a0af47c236c48b8c5a1b504871d96 (diff)
Diffstat (limited to 'library.py')
-rwxr-xr-xlibrary.py3
1 files changed, 2 insertions, 1 deletions
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