Update config.py

This commit is contained in:
Augustin 2022-11-16 18:12:43 +01:00 committed by GitHub
parent f4ebb39fdf
commit ebb1a8e48f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -64,6 +64,14 @@ parser.add_argument(
type=argparse.FileType('r')
)
parser.add_argument(
"-a",
"--add-points",
help="Add points to the database from a file and exit",
dest="points_file",
default=""
)
args = parser.parse_args()
CUSTOM_START = args.override
UNBAN = args.unban
@ -73,7 +81,9 @@ FAST = args.fast
if CUSTOM_START :
LOG = True
# gloabal variables used later in the code
POINTS_FILE = args.points_file
# global variables used later in the code
LINUX_HOST = platform == "linux" # if the computer running this programm is linux, it allow more things
START_TIME = time()
driver = None