fix deprecation warning
the argument to qtimer.start should be an int not a float the current code raises a deprecation warning with python 3.8
This commit is contained in:
parent
9fdaffaf7d
commit
1d10561974
@ -429,7 +429,7 @@ class QtProcess(Process):
|
||||
This allows signals to be connected from the child process to the parent.
|
||||
"""
|
||||
self.timer.timeout.connect(self.processRequests)
|
||||
self.timer.start(interval*1000)
|
||||
self.timer.start(int(interval*1000))
|
||||
|
||||
def stopRequestProcessing(self):
|
||||
self.timer.stop()
|
||||
|
Loading…
Reference in New Issue
Block a user