Skip to content

Commit

Permalink
Allow string status and list ids
Browse files Browse the repository at this point in the history
Favourites and reblogs also use this id and it's sometimes strings.
  • Loading branch information
snan authored and ihabunek committed Sep 29, 2020
1 parent 62d7855 commit d884379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toot/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def editor(value):

status_id_arg = (["status_id"], {
"help": "ID of the status",
"type": int,
"type": str,
})

# Arguments for selecting a timeline (see `toot.commands.get_timeline_generator`)
Expand All @@ -132,7 +132,7 @@ def editor(value):
"help": "mastodon instance from which to read (public and tag timelines only)",
}),
(["--list"], {
"type": int,
"type": str,
"help": "show timeline for given list.",
}),
]
Expand Down

0 comments on commit d884379

Please sign in to comment.