From 14a6efef2b515a28c0056c96f2e4aa22e84480df Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 16 Aug 2008 23:55:45 +0000 Subject: [PATCH] Fix loading torrents from state when fastresume file is missing --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index a44cd5cdc..efa4a54f1 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -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(