Fix syntax
This commit is contained in:
parent
723aeb1946
commit
8aeedd6f3c
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def mkfirmware(device, path):
|
||||||
# Write secret
|
# Write secret
|
||||||
|
|
||||||
with open(tempdir.name + "/etc/vpnsecret", "w") as secret:
|
with open(tempdir.name + "/etc/vpnsecret", "w") as secret:
|
||||||
secret.write('SECRET="%s"\nHOSTNAME="%s"' % (device.secret, hostname)
|
secret.write('SECRET="%s"\nHOSTNAME="%s"' % (device.secret, hostname))
|
||||||
|
|
||||||
# Write password
|
# Write password
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue