use threading.Timer instead of the sched module

This commit is contained in:
Romain Bignon 2010-04-26 18:11:42 +02:00
commit 1795d16112
2 changed files with 27 additions and 16 deletions

View file

@ -23,13 +23,13 @@ from PyQt4.QtCore import QTimer, SIGNAL
from PyQt4.QtGui import QMainWindow, QApplication
from weboob import Weboob
from weboob.scheduler import Scheduler
from weboob.scheduler import IScheduler
from .base import BaseApplication
__all__ = ['QtApplication']
class QtScheduler(Scheduler):
class QtScheduler(IScheduler):
def __init__(self, app):
self.app = app
self.timers = {}