do not use lowercase DN - this causes dict problems

This commit is contained in:
emrekgn 2016-07-29 19:09:22 +03:00
parent cb18b1b7a6
commit 3fc86867ee

View file

@ -46,7 +46,7 @@ class Registration:
j = json.loads(reg_reply) j = json.loads(reg_reply)
self.logger.debug('[Registration]' + j['message']) self.logger.debug('[Registration]' + j['message'])
status = str(j['status']).lower() status = str(j['status']).lower()
dn = str(j['agentDn']).lower() dn = str(j['agentDn'])
self.logger.debug('[Registration] Registration status: ' + str(status)) self.logger.debug('[Registration] Registration status: ' + str(status))