From 97b10ee4e330dfbeab3bf8127b5d5cae4b3f9774 Mon Sep 17 00:00:00 2001 From: Serene-Arc Date: Thu, 8 Apr 2021 11:08:12 +1000 Subject: [PATCH] Fix line length --- bulkredditdownloader/resource.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bulkredditdownloader/resource.py b/bulkredditdownloader/resource.py index dd0592f..de23ef3 100644 --- a/bulkredditdownloader/resource.py +++ b/bulkredditdownloader/resource.py @@ -33,7 +33,8 @@ class Resource: if response.status_code == 200: return response.content elif response.status_code in (301, 401, 403, 404): - raise BulkDownloaderException(f'Unrecoverable error requesting resource: HTTP Code {response.status_code}') + raise BulkDownloaderException( + f'Unrecoverable error requesting resource: HTTP Code {response.status_code}') else: raise requests.exceptions.ConnectionError(f'Response code {response.status_code}') except requests.exceptions.ConnectionError as e: