Fixed changed function name.
This commit is contained in:
parent
f5835d85e2
commit
d5c50ce60a
|
@ -33,7 +33,7 @@ def do_conf_file(src, dst, variables):
|
||||||
if isinstance(var, str):
|
if isinstance(var, str):
|
||||||
pass
|
pass
|
||||||
elif isinstance(var, nodes.StringStatement):
|
elif isinstance(var, nodes.StringStatement):
|
||||||
var = var.get_string()
|
var = var.get_value()
|
||||||
else:
|
else:
|
||||||
raise RuntimeError('Tried to replace a variable with something other than a string.')
|
raise RuntimeError('Tried to replace a variable with something other than a string.')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue