Use correct function to iterate dict
This commit is contained in:
parent
4568f628d4
commit
a8ff257a9b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue