mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-15 14:05:57 +00:00
Fix loading torrents from state when fastresume file is missing
This commit is contained in:
parent
b48c487acb
commit
14a6efef2b
@ -217,7 +217,7 @@ class TorrentManager(component.Component):
|
||||
|
||||
def get_resume_data_from_file(self, torrent_id):
|
||||
"""Returns an entry with the resume data or None"""
|
||||
fastresume = None
|
||||
fastresume = ""
|
||||
try:
|
||||
_file = open(
|
||||
os.path.join(
|
||||
|
Loading…
x
Reference in New Issue
Block a user