Not required status_ids parameter runs into an error if None
Fixes #244
This commit is contained in:
pare
7f234664f7
commit
1d1a08b51a
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