Skip to content

Commit

Permalink
pep8 fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjake committed May 13, 2016
1 parent cf63e6c commit f167781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internetarchive/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def upload_file(self, body,
key = body.name.split('/')[-1] if key is None else key
base_url = '{0.session.protocol}//s3.us.archive.org/{0.identifier}'.format(self)
url = '{0}/{1}'.format(
base_url, urllib.parse.quote(key.lstrip('/').encode('utf-8')))
base_url, urllib.parse.quote(key.lstrip('/').encode('utf-8')))

# Skip based on checksum.
if checksum:
Expand Down

0 comments on commit f167781

Please sign in to comment.