format of registration parameters fixed

This commit is contained in:
Volkan Şahin 2016-05-19 16:14:55 +03:00
parent 37ec0551a9
commit 966e17f241

View file

@ -95,8 +95,8 @@ class Registration():
def get_registration_params(self):
params = {
'ipAddresses': System.Hardware.Network.ip_addresses(),
'macAddresses': System.Hardware.Network.mac_addresses(),
'ipAddresses': str(System.Hardware.Network.ip_addresses()).replace('[', '').replace(']', ''),
'macAddresses': str(System.Hardware.Network.mac_addresses()).replace('[', '').replace(']', ''),
'hostname': System.Os.hostname(),
'os.name': System.Os.name(),
'os.version': System.Os.version(),