summaryrefslogtreecommitdiff
path: root/library.py
diff options
context:
space:
mode:
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