Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from fcurella/master

fixed a bug where return values from save_to_storymarket weren't unpacked
  • Loading branch information...
commit ec43318ddb9964e67220f6fa9675389b637422ce 2 parents b23dde4 + f744b4e
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_storymarket/utils.py
View
2  django_storymarket/utils.py
@@ -31,7 +31,7 @@ def save_to_storymarket(obj, storymarket_type, data):
for subitem in package_items:
subobj = subitem.pop('object')
subtype = subitem.pop('type').rstrip('s')
- synced = save_to_storymarket(subobj, subtype, subitem)
+ synced, created = save_to_storymarket(subobj, subtype, subitem)
data.setdefault('%s_items' % subtype, []).append(synced.storymarket_id)
# Grab the appropriate manager for the given storymarket type.
Please sign in to comment.
Something went wrong with that request. Please try again.