mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[fix] Path to master.key file.
This commit is contained in:
parent
dfb3d0f9df
commit
c83fecdb08
1 changed files with 5 additions and 2 deletions
|
@ -26,10 +26,13 @@ import sys
|
||||||
import json
|
import json
|
||||||
from urllib import urlopen
|
from urllib import urlopen
|
||||||
|
|
||||||
|
# Get master key
|
||||||
|
master_key_path = os.path.join(os.path.dirname(__file__), 'master.key')
|
||||||
|
master_key = open(master_key_path).read().rstrip()
|
||||||
|
|
||||||
lines = ['// Generated by Dynette CRON']
|
lines = ['// Generated by Dynette CRON']
|
||||||
for url in subs_urls:
|
for url in subs_urls:
|
||||||
|
|
||||||
master_key = open('./master.key').read().rstrip();
|
|
||||||
lines.extend([
|
lines.extend([
|
||||||
'key dynette. {',
|
'key dynette. {',
|
||||||
' algorithm hmac-md5;',
|
' algorithm hmac-md5;',
|
||||||
|
|
Loading…
Reference in a new issue