From 1d105619743cb7ac4af585467e000b178cb99df2 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Wed, 16 Sep 2020 10:48:37 +0200 Subject: [PATCH] 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 --- pyqtgraph/multiprocess/processes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtgraph/multiprocess/processes.py b/pyqtgraph/multiprocess/processes.py index 6e815edc..7f40be2c 100644 --- a/pyqtgraph/multiprocess/processes.py +++ b/pyqtgraph/multiprocess/processes.py @@ -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()