diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-10-09 20:35:20 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-10-09 20:35:20 +0200 |
commit | ed994a9f50d52b31a420042e195574bdcf41038c (patch) | |
tree | 2750b6088effd273209149163652b4aee1839981 /nephilim | |
parent | e1b0df018826dcb324d978937057c4f4b47c9252 (diff) |
mpd: str -> unicode
Diffstat (limited to 'nephilim')
-rw-r--r-- | nephilim/mpd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/mpd.py b/nephilim/mpd.py index 416bd72..b2cb119 100644 --- a/nephilim/mpd.py +++ b/nephilim/mpd.py @@ -164,7 +164,7 @@ class MPDClient(QtCore.QObject): def _writecommand(self, command, args=[]): parts = [command] for arg in args: - parts.append('"%s"' % escape(str(arg))) + parts.append('"%s"' % escape(unicode(arg))) self.__sock.write(' '.join(parts).encode('utf-8') + '\n') self.__sock.waitForBytesWritten() |