From f1677817529bf72f684b9d20f5e773ef553e0dd3 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 13 May 2016 16:02:39 -0700 Subject: [PATCH] pep8 fixes. --- internetarchive/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internetarchive/item.py b/internetarchive/item.py index 393a5291..1a125a44 100644 --- a/internetarchive/item.py +++ b/internetarchive/item.py @@ -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: