Fixes from testing:

Certificate files are rejected if not both files are provided
Server shuts down controlled after pressing crtl+c
Logfile location is better checked
improvements for better testing (added ids and name in templates)
This commit is contained in:
OzzieIsaacs
2018-09-23 19:15:50 +02:00
parent cab98a9165
commit ba7c734657
11 changed files with 35 additions and 29 deletions

View File

@ -44,5 +44,9 @@ if args.k:
print("Keyfilepath is invalid. Exiting...")
sys.exit(1)
if (args.k and not args.c) or (not args.k and args.c):
print("Certfile and Keyfile have to be used together. Exiting...")
sys.exit(1)
if args.k is "":
keyfilepath = ""