Author: andar

Revision: 5382

Log:
        Fix calling set functions

Diff:
Modified: trunk/deluge/config.py
===================================================================
--- trunk/deluge/config.py      2009-06-10 22:35:47 UTC (rev 5381)
+++ trunk/deluge/config.py      2009-06-10 22:43:43 UTC (rev 5382)
@@ -173,7 +173,8 @@
         # 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:



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to