From 2d95848cee52a0c61135623cb40f94f69231f51d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 29 Aug 2019 11:00:23 +1000 Subject: [PATCH] tools: make tuhi-live --verbose actually work The argparser in tuhi.base.main() drops argv[0], so we have to add a fake argument here. Signed-off-by: Peter Hutterer --- tools/tuhi-live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tuhi-live.py b/tools/tuhi-live.py index 4f7182c..0fd07ac 100755 --- a/tools/tuhi-live.py +++ b/tools/tuhi-live.py @@ -56,7 +56,7 @@ def maybe_start_tuhi(queue): sys.path.append(os.getcwd()) import tuhi.base - args = [] + args = ['tuhi-live'] # argparse in tuhi.base.main skips argv[0] if verbose: args.append('--verbose')