diff options
author | Marcos Pinto <markybob@dipconsultants.com> | 2008-02-23 13:09:26 +0000 |
---|---|---|
committer | Marcos Pinto <markybob@dipconsultants.com> | 2008-02-23 13:09:26 +0000 |
commit | 83f8481797bcad09878f43bd6eea0c744bfb70aa (patch) | |
tree | 168cdb136ddd4c4ddd5c3222e5718a2f981b2fb3 | |
parent | 694bf6d77806ad58baab24dc9a0854ed7aca730e (diff) | |
download | deluge-83f8481797bcad09878f43bd6eea0c744bfb70aa.tar.gz deluge-83f8481797bcad09878f43bd6eea0c744bfb70aa.tar.bz2 deluge-83f8481797bcad09878f43bd6eea0c744bfb70aa.zip |
fix ui hang on keyerror with seed time
-rw-r--r-- | src/core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py index 2536a155c..061d3357f 100644 --- a/src/core.py +++ b/src/core.py @@ -749,7 +749,8 @@ Space:") + " " + nice_free) # save fast resume once torrent finishes so as to not recheck # seed if client crashes self.save_fastresume_data(event['unique_ID']) - self.unique_IDs[event['unique_ID']].seed_time = time.time() + uid = event['unique_ID'] + self.unique_IDs[uid].seed_time = time.time() elif event['event_type'] is self.constants['EVENT_FILE_ERROR']: import gtk |