This commit is contained in:
nikolark committed 2012-03-18 02:57:47 +01:00
1 parent 11a18b6aba
commit c82a76d4ce
3 files changed
+5

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ for member in group_members:
match = difflib.get_close_matches(member[0], names, 1) # max 1 match
if match:
u = UserProfile.objects.get(pk=name_lookup[match[0]])
# Note: This is not correct, image is only kind of a textfield
u.image = 'https://graph.facebook.com/{0}/picture'.format(member[1])
u.save()