Fix calling set functions

This commit is contained in:
Andrew Resch 2009-06-10 22:43:43 +00:00
parent 9495fffeac
commit e36ca0e5ba
1 changed files with 2 additions and 1 deletions

View File

@ -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: