forked from shaba/openuds
Fixed skipTimeOnFailure store && integer division on python 3 for client
This commit is contained in:
parent
8d9b8d9234
commit
4985747c97
@ -80,8 +80,8 @@ class UDSClient(QtWidgets.QMainWindow):
|
|||||||
|
|
||||||
screen = QtWidgets.QDesktopWidget().screenGeometry()
|
screen = QtWidgets.QDesktopWidget().screenGeometry()
|
||||||
mysize = self.geometry()
|
mysize = self.geometry()
|
||||||
hpos = (screen.width() - mysize.width()) / 2
|
hpos = (screen.width() - mysize.width()) // 2
|
||||||
vpos = (screen.height() - mysize.height() - mysize.height()) / 2
|
vpos = (screen.height() - mysize.height() - mysize.height()) // 2
|
||||||
self.move(hpos, vpos)
|
self.move(hpos, vpos)
|
||||||
|
|
||||||
self.animTimer = QtCore.QTimer()
|
self.animTimer = QtCore.QTimer()
|
||||||
|
@ -104,6 +104,7 @@ class IPMachinesService(IPServiceBase):
|
|||||||
|
|
||||||
self._token = self.token.value.strip()
|
self._token = self.token.value.strip()
|
||||||
self._port = self.port.value
|
self._port = self.port.value
|
||||||
|
self._skipTimeOnFailure = self.skipTimeOnFailure.num()
|
||||||
|
|
||||||
def getToken(self):
|
def getToken(self):
|
||||||
return self._token or None
|
return self._token or None
|
||||||
|
Loading…
Reference in New Issue
Block a user