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):
|
def get_resume_data_from_file(self, torrent_id):
|
||||||
"""Returns an entry with the resume data or None"""
|
"""Returns an entry with the resume data or None"""
|
||||||
fastresume = None
|
fastresume = ""
|
||||||
try:
|
try:
|
||||||
_file = open(
|
_file = open(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
|
|
Loading…
Reference in New Issue