From 22a0569f94587542fc964b8ae2c594201df173ed Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 4 Jun 2015 00:15:21 +0200 Subject: [PATCH] undo last change --- pandora_client/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index 0165f1f..2eefd7b 100755 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -494,7 +494,6 @@ class Client(object): volumes = self.active_volumes() for name in sorted(volumes): path = volumes[name] - if not isinstance(path, unicode): path = path.encode('utf-8') conn, c = self._conn() c.execute(u'SELECT path FROM file WHERE path LIKE ? AND deleted < 0', [u"%s%%" % path]) known_files = [r[0] for r in c.fetchall()]