Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
xnick421 committed Dec 18, 2019
1 parent d038cd5 commit 9e2b55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion organizations/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Meta(object): # pylint: disable=missing-docstring
def update_logo(self, obj, logo_url): # pylint: disable=missing-docstring
if logo_url:
logo = requests.get(logo_url)
print('**********', urlparse(logo_url).params)
print('**********', urlparse(logo_url).__dict__)
print('**********', logo_url.split('/')[-1])
obj.logo.save(logo_url.split('/')[-1], ContentFile(logo.content))

Expand Down

0 comments on commit 9e2b55f

Please sign in to comment.