google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

Problem with syncPhotoSet method #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to use the syncPhotoSet method.

What is the expected output? What do you see instead?
I expect photoset to sync. Instead I get the error message:

...
ValueError: Cannot assign "1": "PhotoSet.primary" must be a "Photo" instance.

What version of the product are you using? On what operating system?
Up to date SVN checkout.

Please provide any additional information below.
I think the problem is the dictionary defined at line 400 in app/flickr.py.
The key 'primary' is defined twice. Removing 'primary':primary.id seems to
work.

-------------

Alasdair

Original issue reported on code.google.com by alasdair...@gmail.com on 11 Feb 2009 at 10:01

GoogleCodeExporter commented 9 years ago
You're right this looks like a typo bug, I have corrected it and committed the
changes. Gave you credit in the changelog, THANKS!

Original comment by jesse.l...@gmail.com on 12 Feb 2009 at 3:08