diff options
author | Aljoscha Rittner <[email protected]> | 2022-08-08 10:07:41 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-08 10:07:41 +0200 |
commit | 89a6bd2baca4e651440402773393c19f74ee0993 (patch) | |
tree | a39db631d3f6a5e5359bde50c014ab81d9ef5084 | |
parent | 7f234664f7c03126c31b9bb8d028727ca3c808c5 (diff) | |
parent | 1d1a08b51a44da37968db624e950b000737307d1 (diff) | |
download | mastodon.py-89a6bd2baca4e651440402773393c19f74ee0993.tar.gz |
Merge pull request #245 from arittner/fix_244
Not required status_ids parameter runs into an error if None
-rw-r--r-- | mastodon/Mastodon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index d37d437..ef428d2 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -2472,7 +2472,7 @@ class Mastodon: | |||
2472 | if not status_ids is None: | 2472 | if not status_ids is None: |
2473 | if not isinstance(status_ids, list): | 2473 | if not isinstance(status_ids, list): |
2474 | status_ids = [status_ids] | 2474 | status_ids = [status_ids] |
2475 | status_ids = list(map(lambda x: self.__unpack_id(x), status_ids)) | 2475 | status_ids = list(map(lambda x: self.__unpack_id(x), status_ids)) |
2476 | 2476 | ||
2477 | params_initial = locals() | 2477 | params_initial = locals() |
2478 | if forward == False: | 2478 | if forward == False: |