mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Fix code
This commit is contained in:
parent
84ab53664f
commit
0e9dd34b3d
1 changed files with 2 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from Qt import QtCore, QtWidgets
|
from Qt import QtCore
|
||||||
|
|
||||||
|
|
||||||
class PulseThread(QtCore.QThread):
|
class PulseThread(QtCore.QThread):
|
||||||
|
|
@ -24,7 +24,7 @@ class PulseThread(QtCore.QThread):
|
||||||
except Exception:
|
except Exception:
|
||||||
self.no_response.emit()
|
self.no_response.emit()
|
||||||
|
|
||||||
self.msleep(self._interval)
|
self.msleep(interval)
|
||||||
|
|
||||||
|
|
||||||
class FusionPulse(QtCore.QObject):
|
class FusionPulse(QtCore.QObject):
|
||||||
|
|
@ -58,5 +58,3 @@ class FusionPulse(QtCore.QObject):
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self._thread.requestInterruption()
|
self._thread.requestInterruption()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue