Skip to content

Commit

Permalink
fix python2.6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tibonihoo committed Apr 12, 2015
1 parent 412615d commit 7b54be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wom_user/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def user_river_source_item(request, owner_name, source_url):
prefix = "ref")
feedForms = {}
for idx,feed in enumerate(WebFeed.objects.filter(source__url=source_url)):
currentPrefix = "feed{}".format(idx)
currentPrefix = "feed{0}".format(idx)
initial = {"follow": feed in owner_profile.web_feeds.all()}
followFieldName = currentPrefix+"-follow"
if formData and followFieldName not in formData[0]:
Expand Down

0 comments on commit 7b54be9

Please sign in to comment.