mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
Merge pull request #27 from jufm/encodedstring
Handling encoded input strings
This commit is contained in:
commit
c1bd46b22a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user