From 0d4349e94219b67d52db0583e230fab7b7600e6c Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 16 May 2021 21:02:18 -0700 Subject: [PATCH] Migrate scripts to main_level_by_argv. --- voussoirkit/downloady.py | 2 +- voussoirkit/operatornotify.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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__)