#3377: Torrent deletion: join() argument must be str or bytes, not 'NoneType
--------------------------------------+-------------------
Reporter: MaxRecvDataSegmentLength | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Core
Version: 2.0.0 | Keywords:
--------------------------------------+-------------------
I had to modify `core/torrent.py` to clean up my list.
I have no idea if that is a valid fix or why `self.filename` was `None`
and if it is normal, but it worked for me.
{{{
@@ -1312,7 +1312,7 @@ class Torrent(object):
torrent_files = [
os.path.join(get_config_dir(), 'state', self.torrent_id +
'.torrent')
]
- if delete_copies:
+ if delete_copies and self.filename is not None:
torrent_files.append(
os.path.join(self.config['torrentfiles_location'],
self.filename)
)
}}}
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3377>
Deluge <https://deluge-torrent.org/>
Deluge Project