Skip to content

Commit

Permalink
fixed line length for flake
Browse files Browse the repository at this point in the history
  • Loading branch information
aschroed committed Jan 7, 2020
1 parent 35852b8 commit c4ccb39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wranglertools/import_data.py
Expand Up @@ -197,7 +197,8 @@ def attachment(path):
try:
r = requests.get(path)
except Exception:
raise WebFetchException("\nERROR : The 'attachment' field has INVALID FILE PATH or URL ({})\n".format(path))
raise WebFetchException(
"\nERROR : The 'attachment' field has INVALID FILE PATH or URL ({})\n".format(path))
else:
# if it works as a URL, but does not return 200
if r.status_code is not 200: # pragma: no cover
Expand Down

0 comments on commit c4ccb39

Please sign in to comment.