Fix syntax

This commit is contained in:
Kumi 2019-02-07 16:16:14 +00:00
parent 723aeb1946
commit 8aeedd6f3c

View file

@ -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