mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fix deleting old .fastresume files with fresh configs
This commit is contained in:
parent
fa5b7e7a66
commit
baa177a1b1
1 changed files with 30 additions and 30 deletions
|
@ -298,7 +298,7 @@ class TorrentManager(component.Component):
|
|||
|
||||
def legacy_delete_resume_data(self, torrent_id):
|
||||
"""Deletes the .fastresume file"""
|
||||
path = os.path.join(self.config["state_location"],
|
||||
path = os.path.join(get_config_dir(), "state",
|
||||
torrent_id + ".fastresume")
|
||||
log.debug("Deleting fastresume file: %s", path)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue