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
9af41fd457
commit
447da3b1b4
2 changed files with 33 additions and 30 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue