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
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue