[core] Fix commandline parser

This commit is contained in:
Cathy Hu 2020-07-10 23:50:57 +02:00 committed by dl6tom
parent b1a1f4f414
commit 7a18d36217

View file

@ -15,7 +15,7 @@ config = {
'root_url': 'http://localhost:8000/', 'root_url': 'http://localhost:8000/',
} }
if argv[0] == 'kibicara': if argv[0].endswith('kibicara'):
parser = ArgumentParser() parser = ArgumentParser()
parser.add_argument( parser.add_argument(
'-f', '-f',