Merge pull request #245 from arittner/fix_244
Not required status_ids parameter runs into an error if None
This commit is contained in:
commit
89a6bd2bac
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -2472,7 +2472,7 @@ class Mastodon:
|
||||||
if not status_ids is None:
|
if not status_ids is None:
|
||||||
if not isinstance(status_ids, list):
|
if not isinstance(status_ids, list):
|
||||||
status_ids = [status_ids]
|
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()
|
params_initial = locals()
|
||||||
if forward == False:
|
if forward == False:
|
||||||
|
|
Loading…
Referencia en una nova incidència