From 4aa92f9e3b27b2db151197cbec363f6b6d7a5736 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 12 Mar 2012 12:17:51 +0100 Subject: [PATCH] fix upload --- pandora_client/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index 54c8c23..59e8a84 100644 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -460,9 +460,9 @@ class Client(object): self.scan_file(arg) oshash = ox.oshash(arg) info[oshash] = self.info(oshash) - args.append(oshash) + data.append(oshash) else: - args.append(arg) + data.append(arg) files = [] if info: post = {'info': info}