fix silly mistake

This commit is contained in:
Lynne 2019-08-07 13:48:45 +10:00
parent 1fbaf17e3e
commit 1261af29c3
4 changed files with 4 additions and 11 deletions

View file

@ -1,8 +1 @@
{ {"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"}}
"site": "https://botsin.space",
"cw": null,
"learn_from_cw": false,
"mention_handling": 1,
"max_thread_length": 15,
"strip_paired_punctuation": false
}

2
gen.py
View file

@ -8,7 +8,7 @@ import argparse, json, re
import functions import functions
parser = argparse.ArgumentParser(description='Generate and post a toot.') 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.") help="Specify a custom location for config.json.")
parser.add_argument('-s', '--simulate', dest='simulate', action='store_true', 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.") help="Print the toot without actually posting it. Use this to make sure your bot's actually working.")

View file

@ -12,7 +12,7 @@ import requests
import functions import functions
parser = argparse.ArgumentParser(description='Log in and download posts.') 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.") help="Specify a custom location for config.json.")
args = parser.parse_args() args = parser.parse_args()

View file

@ -9,7 +9,7 @@ import functions
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
parser = argparse.ArgumentParser(description='Reply service. Leave running in the background.') 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.") help="Specify a custom location for config.json.")
args = parser.parse_args() args = parser.parse_args()