Commit 3117a6c7 authored by Jason R. Coombs's avatar Jason R. Coombs

Fix boolean test, incorrectly changed. Off-by-one errors are particularly ugly...

Fix boolean test, incorrectly changed. Off-by-one errors are particularly ugly with booleans ;) Fixes #77
parent 701115d8
......@@ -122,7 +122,7 @@ class upload(Command):
body = StringIO.StringIO()
for key, value in data.items():
# handle multiple entries for the same name
if isinstance(value, list):
if not isinstance(value, list):
value = [value]
for value in value:
if type(value) is tuple:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment