From 9793f47bb32e8d4877dcc3ff6bcd6e4416e69327 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 16 May 2021 21:02:48 -0700 Subject: [PATCH] Migrate scripts to main_level_by_argv. --- hnarchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hnarchive.py b/hnarchive.py index fe65f04..e74afdb 100644 --- a/hnarchive.py +++ b/hnarchive.py @@ -397,7 +397,7 @@ def update_items_argparse(args): insert_items(items, commit_period=args.commit_period) def main(argv): - argv = vlogging.set_level_by_argv(log, argv) + argv = vlogging.main_level_by_argv(argv) parser = argparse.ArgumentParser(description=__doc__) subparsers = parser.add_subparsers()