From 9a64e5edd9b02023765ac55857bfe05312e52be1 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 21 Jun 2021 23:07:16 -0700 Subject: [PATCH] Add operatornotify to hnarchive. --- hnarchive.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hnarchive.py b/hnarchive.py index e74afdb..8ed9794 100644 --- a/hnarchive.py +++ b/hnarchive.py @@ -7,6 +7,7 @@ import time from voussoirkit import backoff from voussoirkit import betterhelp +from voussoirkit import operatornotify from voussoirkit import ratelimiter from voussoirkit import sqlhelpers from voussoirkit import threadpool @@ -396,9 +397,9 @@ def update_items_argparse(args): insert_items(items, commit_period=args.commit_period) +@operatornotify.main_decorator(subject='hnarchive.py') +@vlogging.main_decorator def main(argv): - argv = vlogging.main_level_by_argv(argv) - parser = argparse.ArgumentParser(description=__doc__) subparsers = parser.add_subparsers()