aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md13
-rw-r--r--config.py1
2 files changed, 13 insertions, 1 deletions
diff --git a/README.md b/README.md
index b11279a..97c056f 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,19 @@ modules:
...
```
+### config.json
+The `config.json` file is used to preserve date from possible updates to this script. `config.py` will load `config
+.json` to extract the name, which is used to sign the report message with. In the future there might be other things
+the `config.json` may contain.
+
+```json
+$ cat config.json
+{
+ "name": "username"
+}
+```
+
+
## usage main.py
```
usage: main.py [-h] [-in INFILE [INFILE ...]] [-d DOMAIN] [-r]
diff --git a/config.py b/config.py
index 12a41a4..ff6f9fa 100644
--- a/config.py
+++ b/config.py
@@ -15,5 +15,4 @@ except FileNotFoundError:
class Config(object):
- """extract secret key to use for the webserver"""
name = config["name"]