diff options
Diffstat (limited to 'library.py')
-rwxr-xr-x | library.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |