Author: dmeyer
Date: Sat Mar  8 14:31:19 2008
New Revision: 3170

Log:
fix default timer for timed

Modified:
   trunk/base/src/notifier/timer.py

Modified: trunk/base/src/notifier/timer.py
==============================================================================
--- trunk/base/src/notifier/timer.py    (original)
+++ trunk/base/src/notifier/timer.py    Sat Mar  8 14:31:19 2008
@@ -112,7 +112,7 @@
                 getattr(obj, name).stop()
 
             # create new timer, set it to the object and start it
-            t = timer(func, *args, **kwargs)
+            t = (timer or Timer)(func, *args, **kwargs)
             setattr(obj, name, weakref(t))
             getattr(obj, name).start(interval)
             return True

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to