Fix loading torrents from state when fastresume file is missing

This commit is contained in:
Andrew Resch 2008-08-16 23:55:45 +00:00
parent b48c487acb
commit 14a6efef2b
1 changed files with 1 additions and 1 deletions

View File

@ -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(