mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Fix calling set functions
This commit is contained in:
parent
9495fffeac
commit
e36ca0e5ba
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ class Config(object):
|
|||
# Run the set_function for this key if any
|
||||
from twisted.internet import reactor
|
||||
try:
|
||||
reactor.callLater(0, self.__set_functions[key], key, value)
|
||||
for func in self.__set_functions[key]:
|
||||
reactor.callLater(0, func, key, value)
|
||||
except KeyError:
|
||||
pass
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue