mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +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
|
# Run the set_function for this key if any
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
try:
|
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:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue