Allow string status and list ids

Favourites and reblogs also use this id and it's sometimes strings.
This commit is contained in:
Sandra Snan 2020-09-06 14:00:02 +02:00 committed by Ivan Habunek
parent 62d7855fc0
commit d884379f2e
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ scheme_arg = (["--disable-https"], {
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`)
@ -132,7 +132,7 @@ common_timeline_args = [
"help": "mastodon instance from which to read (public and tag timelines only)",
}),
(["--list"], {
"type": int,
"type": str,
"help": "show timeline for given list.",
}),
]