diff options
-rw-r--r-- | mastodon/Mastodon.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 9d8b173..9967bdb 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -411,6 +411,9 @@ class Mastodon: | |||
411 | if params_initial['visibility'].lower() not in valid_visibilities: | 411 | if params_initial['visibility'].lower() not in valid_visibilities: |
412 | raise ValueError('Invalid visibility value! Acceptable values are %s' % valid_visibilities) | 412 | raise ValueError('Invalid visibility value! Acceptable values are %s' % valid_visibilities) |
413 | 413 | ||
414 | if params_initial['sensitive'] == False: | ||
415 | del[params_initial['sensitive']] | ||
416 | |||
414 | if media_ids != None: | 417 | if media_ids != None: |
415 | try: | 418 | try: |
416 | media_ids_proper = [] | 419 | media_ids_proper = [] |