Fix deleting old .fastresume files with fresh configs
This commit is contained in:
parent
9af41fd457
commit
447da3b1b4
@ -1,4 +1,7 @@
|
||||
=== Deluge 1.2.0_rc4 (In Development) ===
|
||||
==== Core ====
|
||||
* Fix deleting old .fastresume files with fresh configs
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix showing the 'Other' speed dialogs in Windows
|
||||
* Fix adding torrents from the Queued Torrents dialog
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user