diff options
author | Aljoscha Rittner <[email protected]> | 2022-08-08 10:06:30 +0200 |
---|---|---|
committer | Aljoscha Rittner <[email protected]> | 2022-08-08 10:06:30 +0200 |
commit | 1d1a08b51a44da37968db624e950b000737307d1 (patch) | |
tree | a39db631d3f6a5e5359bde50c014ab81d9ef5084 | |
parent | 7f234664f7c03126c31b9bb8d028727ca3c808c5 (diff) | |
download | mastodon.py-1d1a08b51a44da37968db624e950b000737307d1.tar.gz |
Not required status_ids parameter runs into an error if None
Fixes #244
-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: |