Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
emilsvennesson committed Oct 5, 2024
1 parent 950195e commit 739a71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/inputstreamhelper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def http_get(url):
try:
decoded_content = content.decode("utf-8")
return decoded_content
except UnicodeDecodeError as e:
log(2, 'Failed to decode content. Error: {error}', error=str(e))
except UnicodeDecodeError as error:
log(2, 'Failed to decode content. Error: {error}', error=str(error))
return None

def http_head(url):
Expand Down

0 comments on commit 739a71f

Please sign in to comment.