Skip to content

Commit

Permalink
fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Lynnesbian committed Aug 7, 2019
1 parent 1fbaf17 commit 1261af2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
9 changes: 1 addition & 8 deletions config.json
Original file line number Diff line number Diff line change
@@ -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"}}
2 changes: 1 addition & 1 deletion gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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.")
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
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()
Expand Down
2 changes: 1 addition & 1 deletion reply.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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()
Expand Down

0 comments on commit 1261af2

Please sign in to comment.