1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Added own version to client REST request for required version

This commit is contained in:
Adolfo Gómez García 2015-05-06 01:53:21 +02:00
parent 6fb9b11f1b
commit 776702f971

View File

@ -112,7 +112,7 @@ class UDSClient(QtGui.QMainWindow):
self.closeWindow()
return
self.req = RestRequest('/{}/{}'.format(self.ticket, self.scrambler), self, self.transportDataReceived, params={'hostname': tools.getHostName()})
self.req = RestRequest('/{}/{}'.format(self.ticket, self.scrambler), self, self.transportDataReceived, params={'hostname': tools.getHostName(), 'version': VERSION})
self.req.get()
except Exception as e: