diff --git a/src/favorites_crawler/__init__.py b/src/favorites_crawler/__init__.py index 4c11b92..890d421 100644 --- a/src/favorites_crawler/__init__.py +++ b/src/favorites_crawler/__init__.py @@ -77,7 +77,7 @@ def main(): args = parser.parse_args() try: args.func(args, id_list=args.id_list) - except TypeError: + except (TypeError, AttributeError): args.func(args)