Sensitive = False results in Not Sensitive. Fixes #20
This commit is contained in:
pare
5182aecace
commit
0cac499cfe
S'han modificat 1 arxius amb 3 adicions i 0 eliminacions
|
@ -411,6 +411,9 @@ class Mastodon:
|
|||
if params_initial['visibility'].lower() not in valid_visibilities:
|
||||
raise ValueError('Invalid visibility value! Acceptable values are %s' % valid_visibilities)
|
||||
|
||||
if params_initial['sensitive'] == False:
|
||||
del[params_initial['sensitive']]
|
||||
|
||||
if media_ids != None:
|
||||
try:
|
||||
media_ids_proper = []
|
||||
|
|
Loading…
Referencia en una nova incidència