Skip to content

Commit

Permalink
fixed None args/task-args bug in ia tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjake committed Dec 18, 2024
1 parent fa278cc commit 76987b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internetarchive/cli/ia_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ def setup(subparsers):
parser.add_argument("-a", "--task-args",
nargs="+",
action=QueryStringAction,
default={},
metavar="KEY:VALUE",
help="Args to submit to the Tasks API.")
parser.add_argument("-d", "--data",
nargs="+",
action=PostDataAction,
metavar="KEY:VALUE",
default={},
help="Additional data to send when submitting a task.")
parser.add_argument("-r", "--reduced-priority",
action="store_true",
Expand Down

0 comments on commit 76987b2

Please sign in to comment.