Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
darthbear committed Sep 27, 2019
1 parent 5d492d7 commit 0ded0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyhocon/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def to_hocon(cls, config, compact=False, indent=2, level=0):
if '\n' in config.value and len(config.value) > 1:
lines = '"""{value}"""'.format(value=config.value) # multilines
else:
lines = '"{value}"'.format(value=cls.__escape_string(config))
lines = '"{value}"'.format(value=cls.__escape_string(config.value))
elif config is None or isinstance(config, NoneValue):
lines = 'null'
elif config is True:
Expand Down

0 comments on commit 0ded0b3

Please sign in to comment.