use threading.Timer instead of the sched module
This commit is contained in:
parent
ffe22cf819
commit
1795d16112
2 changed files with 27 additions and 16 deletions
|
|
@ -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 = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue