From 966e17f24176f3d37fa2cf8c01606520e81286e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20=C5=9Eahin?= Date: Thu, 19 May 2016 16:14:55 +0300 Subject: [PATCH] format of registration parameters fixed --- opt/ahenk/base/registration/Registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opt/ahenk/base/registration/Registration.py b/opt/ahenk/base/registration/Registration.py index 08d412c..c842783 100644 --- a/opt/ahenk/base/registration/Registration.py +++ b/opt/ahenk/base/registration/Registration.py @@ -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(),