Skip to content

Commit

Permalink
Fix backend config escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
1n committed Nov 26, 2020
1 parent 2552998 commit 2877276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def parse_args(init_vars=None, tf_vars=None, targets=None, **kw):
if kw.get('refresh') is False:
cmd_args.append('-refresh=false')
if isinstance(init_vars, dict):
cmd_args += ['-backend-config=\'{}={}\''.format(k, v)
cmd_args += ['-backend-config={}={}'.format(k, v)
for k, v in init_vars.items()]
elif isinstance(init_vars, str):
cmd_args += ['-backend-config', '{}'.format(init_vars)]
Expand Down

0 comments on commit 2877276

Please sign in to comment.