From 83f8481797bcad09878f43bd6eea0c744bfb70aa Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 23 Feb 2008 13:09:26 +0000 Subject: [PATCH] fix ui hang on keyerror with seed time --- src/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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