From 59151b04fda8ea3770379cf61aefa7c87cae375a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 22 Feb 2012 21:25:43 +0530 Subject: [PATCH] resume fail --- pandora_client/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index e58c8af..cc41e7b 100644 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -563,6 +563,7 @@ class API(ox.API): def upload_chunks(self, url, filename, data=None): form = ox.MultiPartForm() + resume = None if os.path.exists(self._resume_file): with open(self._resume_file) as f: resume = json.load(f)