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()