diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-10-08 08:14:58 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-10-08 08:14:58 +0200 |
commit | f75f2eaa28c28a919ce08c5e1d66320963cbb414 (patch) | |
tree | c14043b5d806658c9a8877a49348d1e6978dd132 | |
parent | daf59e2a7199181a689ac5c51bd360a03563f41b (diff) |
mpclient: remove calls to str.encode()
it's now handled in lower layer
-rw-r--r-- | nephilim/mpclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py index 21cd511..c66017a 100644 --- a/nephilim/mpclient.py +++ b/nephilim/mpclient.py @@ -287,9 +287,9 @@ class MPClient(QtCore.QObject): for path in paths: self.logger.info('Adding %s to playlist'%path) if pos < 0: - self._client.addid(path.encode('utf-8')) + self._client.addid(path) else: - self._client.addid(path.encode('utf-8'), pos) + self._client.addid(path, pos) pos += 1 try: ret = list(self._client.command_list_end()) |