aboutsummaryrefslogtreecommitdiffstats
path: root/mkconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'mkconfig.py')
-rwxr-xr-x[-rw-r--r--]mkconfig.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/mkconfig.py b/mkconfig.py
index ad04413..e81d0b9 100644..100755
--- a/mkconfig.py
+++ b/mkconfig.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import json
import os
import glob
@@ -5,8 +7,8 @@ import zipfile
# handle settings
settings = {}
-if os.path.isfile("settings.json"):
- with open("settings.json", 'r') as f:
+if os.path.isfile("template/settings.json"):
+ with open("template/settings.json", 'r') as f:
settings = json.load(f)
# get all userscripts