Skip to content

Commit

Permalink
hotfix: print and wrong command name
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyheppell committed Jul 10, 2024
1 parent 29fdd22 commit 2139fd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/wpextract/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion src/wpextract/dl/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 2139fd7

Please sign in to comment.