mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
minor tweak
This commit is contained in:
parent
9ecb8a388d
commit
3610c30a25
1 changed files with 12 additions and 9 deletions
|
@ -164,6 +164,7 @@ class DelugeGTK:
|
||||||
self.memory_timer = 0
|
self.memory_timer = 0
|
||||||
for torrent in self.manager.get_queue():
|
for torrent in self.manager.get_queue():
|
||||||
unique_ID = self.manager.get_torrent_unique_id(torrent)
|
unique_ID = self.manager.get_torrent_unique_id(torrent)
|
||||||
|
try:
|
||||||
if self.manager.unique_IDs[unique_ID].uploaded_memory:
|
if self.manager.unique_IDs[unique_ID].uploaded_memory:
|
||||||
self.manager.unique_IDs[unique_ID].initial_uploaded_memory = \
|
self.manager.unique_IDs[unique_ID].initial_uploaded_memory = \
|
||||||
self.manager.unique_IDs[unique_ID].uploaded_memory
|
self.manager.unique_IDs[unique_ID].uploaded_memory
|
||||||
|
@ -176,6 +177,8 @@ class DelugeGTK:
|
||||||
pass
|
pass
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def connect_signals(self):
|
def connect_signals(self):
|
||||||
self.wtree.signal_autoconnect({
|
self.wtree.signal_autoconnect({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue