mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +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))
|
||||
except:
|
||||
pass
|
||||
# Handle the events
|
||||
self.manager.handle_events()
|
||||
|
||||
# We need to apply the queue changes
|
||||
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):
|
||||
self.manager.save_upmem()
|
||||
self.memory_timer = 0
|
||||
# Handle the events
|
||||
self.manager.handle_events()
|
||||
|
||||
# Make sure that the interface still exists
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue