Wrap value as string in generate_clojure_map

This commit is contained in:
Mirco 2022-12-19 12:56:03 +01:00
parent c742f23b2b
commit e728426618

View file

@ -24,7 +24,7 @@ def add_c4k_mixin_config(config,
def generate_clojure_map(template_dict): def generate_clojure_map(template_dict):
clojure_map_str = '{' clojure_map_str = '{'
for key, value in template_dict.items(): for key, value in template_dict.items():
clojure_map_str += f':{key} {value}\n' clojure_map_str += f':{key} "{value}"\n'
clojure_map_str += '}' clojure_map_str += '}'
return clojure_map_str return clojure_map_str