From 7a18d36217b8d19202206b4dec6e2404d2ef5e4c Mon Sep 17 00:00:00 2001 From: Cathy Hu Date: Fri, 10 Jul 2020 23:50:57 +0200 Subject: [PATCH] [core] Fix commandline parser --- kibicara/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibicara/config.py b/kibicara/config.py index d7f216d..b2cacfc 100644 --- a/kibicara/config.py +++ b/kibicara/config.py @@ -15,7 +15,7 @@ config = { 'root_url': 'http://localhost:8000/', } -if argv[0] == 'kibicara': +if argv[0].endswith('kibicara'): parser = ArgumentParser() parser.add_argument( '-f',