mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-01 19:40:39 +00:00
handle events before apply_queue
This commit is contained in:
parent
7ac3421e31
commit
d1a5490e6b
@ -1124,6 +1124,8 @@ of Deluge. Would you like to be taken to our download site?"))
|
|||||||
os.remove(os.path.join(self.config.get("default_autoload_path"), filename))
|
os.remove(os.path.join(self.config.get("default_autoload_path"), filename))
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
# Handle the events
|
||||||
|
self.manager.handle_events()
|
||||||
|
|
||||||
# We need to apply the queue changes
|
# We need to apply the queue changes
|
||||||
self.manager.apply_queue()
|
self.manager.apply_queue()
|
||||||
@ -1134,8 +1136,6 @@ of Deluge. Would you like to be taken to our download site?"))
|
|||||||
if (self.memory_timer == 60):
|
if (self.memory_timer == 60):
|
||||||
self.manager.save_upmem()
|
self.manager.save_upmem()
|
||||||
self.memory_timer = 0
|
self.memory_timer = 0
|
||||||
# Handle the events
|
|
||||||
self.manager.handle_events()
|
|
||||||
|
|
||||||
# Make sure that the interface still exists
|
# Make sure that the interface still exists
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user