[fix] Path to master.key file.

This commit is contained in:
opi 2016-04-26 11:57:30 +02:00
parent dfb3d0f9df
commit c83fecdb08

View file

@ -25,11 +25,14 @@ import os
import sys
import json
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']
for url in subs_urls:
master_key = open('./master.key').read().rstrip();
lines.extend([
'key dynette. {',
' algorithm hmac-md5;',