#2235: gtkui exception after add torrent
---------------------+------------------------------------------------------
 Reporter:  tyeken8  |       Owner:       
     Type:  bug      |      Status:  new  
 Priority:  major    |   Milestone:  1.3.x
Component:  gtkui    |     Version:  1.3.5
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by tyeken8):

 No, I'm using gtkui on windows.

 The sessionproxy code should be
 {{{
 177         # Helper functions and callbacks
 ---------------------------------------
 178         def on_status(result, torrent_ids, keys):
 179             # Update the internal torrent status dict with the update
 values
 180             t = time.time()
 181             for key, value in result.items():
 182                 self.torrents[key][0] = t
 183                 self.torrents[key][1].update(value)
 184                 for k in value:
 185                     self.cache_times[key][k] = t
 186
 187             # Create the status dict
 188             if not torrent_ids:
 189                 torrent_ids = result.keys()
 190
 191             return self.create_status_dict(torrent_ids, keys)
 }}}

-- 
Ticket URL: <https://dev.deluge-torrent.org/ticket/2235#comment:2>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to