fix ui hang on keyerror with seed time
This commit is contained in:
parent
694bf6d778
commit
83f8481797
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue