diff --git a/voussoirkit/downloady.py b/voussoirkit/downloady.py index 51e6731..643e2ba 100644 --- a/voussoirkit/downloady.py +++ b/voussoirkit/downloady.py @@ -473,7 +473,7 @@ def download_argparse(args): def main(argv): - argv = vlogging.set_level_by_argv(log, argv) + argv = vlogging.main_level_by_argv(argv) parser = argparse.ArgumentParser() parser.add_argument('url') diff --git a/voussoirkit/operatornotify.py b/voussoirkit/operatornotify.py index 6389f05..5ffd882 100644 --- a/voussoirkit/operatornotify.py +++ b/voussoirkit/operatornotify.py @@ -220,7 +220,7 @@ def operatornotify_argparse(args): ) def main(argv): - argv = vlogging.set_level_by_argv(log, argv) + argv = vlogging.main_level_by_argv(argv) parser = argparse.ArgumentParser(description=__doc__)