From 1d1a08b51a44da37968db624e950b000737307d1 Mon Sep 17 00:00:00 2001 From: Aljoscha Rittner Date: Mon, 8 Aug 2022 10:06:30 +0200 Subject: Not required status_ids parameter runs into an error if None Fixes #244 --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') 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: if not status_ids is None: if not isinstance(status_ids, list): status_ids = [status_ids] - status_ids = list(map(lambda x: self.__unpack_id(x), status_ids)) + status_ids = list(map(lambda x: self.__unpack_id(x), status_ids)) params_initial = locals() if forward == False: -- cgit v1.2.3