From e67f084673bdeb5c5c87407db620d956c056ce4d Mon Sep 17 00:00:00 2001 From: j Date: Fri, 1 Jul 2016 13:44:50 +0200 Subject: [PATCH] fix upload --- pandora_client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index 9033c20..af17a16 100755 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -994,7 +994,7 @@ class API(ox.API): if os.path.exists(i['media']): size = ox.format_bytes(os.path.getsize(i['media'])) name = os.path.basename(filename) - print(u"uploading %s of %s (%s)" % (profile, name, size)).encode('utf-8') + print((u"uploading %s of %s (%s)" % (profile, name, size)).encode('utf-8')) url = self.url + 'upload/?profile=%s&id=%s' % (profile, i['oshash']) if not self.upload_chunks(url, i['media'], data): if DEBUG: