Unwrap argument list when calling IdleTimeout function.

This prevented update_downloads_list() from cleaning up the download
list when finished, due to can_call_cleanup being set to ().
This commit is contained in:
auouymous 2022-08-27 04:50:48 -06:00
parent 26c0f8dad8
commit 60b3ba6093
1 changed files with 1 additions and 1 deletions

View File

@ -1341,7 +1341,7 @@ class IdleTimeout(object):
def _callback(self, *args):
self.cancel()
if self.func(args):
if self.func(*args):
from gi.repository import GLib
self.id = GLib.timeout_add(self.milliseconds, self._callback, *args)