From 1261af29c3fb2ab695fcea39c4b1be16486e4481 Mon Sep 17 00:00:00 2001
From: Lynne <lynne@bune.city>
Date: Wed, 7 Aug 2019 13:48:45 +1000
Subject: [PATCH] fix silly mistake

---
 config.json | 9 +--------
 gen.py      | 2 +-
 main.py     | 2 +-
 reply.py    | 2 +-
 4 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/config.json b/config.json
index 2b1e55a..3702a55 100644
--- a/config.json
+++ b/config.json
@@ -1,8 +1 @@
-{
-	"site": "https://botsin.space",
-	"cw": null,
-	"learn_from_cw": false,
-	"mention_handling": 1,
-	"max_thread_length": 15,
-	"strip_paired_punctuation": false
-}
+{"site": "botsin.space", "cw": "", "instance_blacklist": ["bofa.lol", "witches.town"], "learn_from_cw": false, "mention_handling": 1, "max_thread_length": 15, "strip_paired_punctuation": false, "secret": "b4752ee85ba92d016d2612367293c39c2849695df0ed8131d61a79e2b14b5975", "client": {"id": "427e7f38b8d4120e8963f22e83a66c2e1535a6820efbe9e17de141c80eca49ef", "secret": "8be1e2f8616023fddfb496669a569ac741c8db8a0e4df6b62e3d91b9d6a74be4"}}
\ No newline at end of file
diff --git a/gen.py b/gen.py
index 4a036b4..e54bee7 100755
--- a/gen.py
+++ b/gen.py
@@ -8,7 +8,7 @@ import argparse, json, re
 import functions
 
 parser = argparse.ArgumentParser(description='Generate and post a toot.')
-parser.add_argument('-c', '--cfg', dest='cfg', action='', default='config.json', nargs='?',
+parser.add_argument('-c', '--cfg', dest='cfg', default='config.json', nargs='?',
 	help="Specify a custom location for config.json.")
 parser.add_argument('-s', '--simulate', dest='simulate', action='store_true',
 	help="Print the toot without actually posting it. Use this to make sure your bot's actually working.")
diff --git a/main.py b/main.py
index 3ddcb51..a224607 100755
--- a/main.py
+++ b/main.py
@@ -12,7 +12,7 @@ import requests
 import functions
 
 parser = argparse.ArgumentParser(description='Log in and download posts.')
-parser.add_argument('-c', '--cfg', dest='cfg', action='', default='config.json', nargs='?',
+parser.add_argument('-c', '--cfg', dest='cfg', default='config.json', nargs='?',
 	help="Specify a custom location for config.json.")
 
 args = parser.parse_args()
diff --git a/reply.py b/reply.py
index b32ad81..b0f3ba7 100755
--- a/reply.py
+++ b/reply.py
@@ -9,7 +9,7 @@ import functions
 from bs4 import BeautifulSoup
 
 parser = argparse.ArgumentParser(description='Reply service. Leave running in the background.')
-parser.add_argument('-c', '--cfg', dest='cfg', action='', default='config.json', nargs='?',
+parser.add_argument('-c', '--cfg', dest='cfg', default='config.json', nargs='?',
 	help="Specify a custom location for config.json.")
 
 args = parser.parse_args()