Sensitive = False results in Not Sensitive. Fixes #20

This commit is contained in:
Lorenz Diener 2017-04-05 13:54:21 +02:00
pare 5182aecace
commit 0cac499cfe

Veure arxiu

@ -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 = []