Don't use the message attribute to get an error message

Fixes #1123
This commit is contained in:
Frank Denis 2019-12-23 18:58:00 +01:00
parent a308c76191
commit 69f00ca977
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def blacklists_from_config_file(
blacklists[url] = names
all_names |= names
except Exception as e:
sys.stderr.write(e.message)
sys.stderr.write(str(e))
if not ignore_retrieval_failure:
exit(1)