diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-03 03:19:09 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-03 03:19:09 +0100 |
commit | 394ff16d3c776d26b4140552597be1e7f0014931 (patch) | |
tree | 2ade59b79278afe81a42990bc1b7e9f2619842e7 | |
parent | v4.0.2 (diff) | |
download | cgitize-394ff16d3c776d26b4140552597be1e7f0014931.tar.gz cgitize-394ff16d3c776d26b4140552597be1e7f0014931.zip |
minor fix
-rw-r--r-- | cgitize/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgitize/main.py b/cgitize/main.py index 08d18df..e787861 100644 --- a/cgitize/main.py +++ b/cgitize/main.py @@ -29,8 +29,8 @@ def parse_args(argv=None): return parser.parse_args(argv) -def main(args=None): - args = parse_args() +def main(argv=None): + args = parse_args(argv) with setup_logging(args.verbose): config = Config.read(args.config) cgit_server = CGitServer(config.main.clone_url) |