mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-14 15:49:36 +01:00
Use str(e) instead of e.message in searcher.py
This commit is contained in:
@@ -82,8 +82,8 @@ def torrent_to_file(target_file, data):
|
||||
fp.write(data)
|
||||
except IOError as e:
|
||||
logger.error(
|
||||
"Could not write torrent file '%s': %s. Skipping.",
|
||||
target_file, e.message)
|
||||
f"Could not write `{target_file}`: {str(e)}"
|
||||
)
|
||||
return
|
||||
|
||||
# Try to change permissions
|
||||
|
||||
Reference in New Issue
Block a user