mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 01:48:40 +00:00
handle events before apply_queue
This commit is contained in:
parent
7ac3421e31
commit
d1a5490e6b
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue