Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
C'MON
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjbowers committed Sep 27, 2017
1 parent b6567fa commit bfdc2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilio_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def persist_file(filename, uploaded_file):
remote_path = '%s/%s' % ('apps/shazongress', local_filename)
blob = bucket.blob(remote_path)
blob = bucket.blob(filename)
blob.upload_from_string(uploaded_file.read(), content_type=uploaded_file.content_type)
blob.upload_from_string(uploaded_file.read(), content_type="image/jpeg")
blob.make_public()
return blob.public_url.replace('apps%2Fshazongress%2F', 'apps/shazongress/')

Expand Down

0 comments on commit bfdc2c9

Please sign in to comment.