From 2139fd7d590a3e98380337df0a4afbb3e9ee7c89 Mon Sep 17 00:00:00 2001 From: Freddy Heppell Date: Wed, 10 Jul 2024 14:17:50 +0100 Subject: [PATCH] hotfix: print and wrong command name --- src/wpextract/cli/cli.py | 2 +- src/wpextract/dl/downloader.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wpextract/cli/cli.py b/src/wpextract/cli/cli.py index cebf4b9..78d1c81 100644 --- a/src/wpextract/cli/cli.py +++ b/src/wpextract/cli/cli.py @@ -10,7 +10,7 @@ def _exec_command(parser, args): - if args.command == "parse": + if args.command == "extract": do_extract(parser, args) elif args.command == "dl": do_dl(parser, args) diff --git a/src/wpextract/dl/downloader.py b/src/wpextract/dl/downloader.py index fa123ad..76d66d7 100644 --- a/src/wpextract/dl/downloader.py +++ b/src/wpextract/dl/downloader.py @@ -119,7 +119,6 @@ def _get_fetch_or_list_type(self, obj_type, plural=False): } def _list_obj(self, obj_type, start=None, limit=None, cache=True): - print("!!") prop = self._get_fetch_or_list_type(obj_type, plural=True) print(prop["obj_name"] + " details")