From ff213916b66110b9634fde22242430e04139233a Mon Sep 17 00:00:00 2001 From: Juliana Motira Date: Thu, 24 Sep 2015 12:08:17 -0300 Subject: [PATCH] Handling encoded input strings --- confluent_server/confluent/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index e3f20776..e03f2150 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -409,7 +409,7 @@ class InputAttributes(ConfluentMessage): # as above, use format() to see if string follows # expression, store value back in case of escapes tv = nodeattr[attr].format() - nodeattr[attr] = tv + nodeattr[attr] = str(tv) except (KeyError, IndexError): # an expression string will error if format() done # use that as cue to put it into config as an expr