aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-04-05 13:54:21 +0200
committerLorenz Diener <[email protected]>2017-04-05 13:54:21 +0200
commit0cac499cfe5c64e577c240afa0380b61502ae5e1 (patch)
tree99e573a60df2b49093541cbac2d92d8656f95f6c /mastodon
parent5182aecace08bdf5016aef8540513baab7488e41 (diff)
downloadmastodon.py-0cac499cfe5c64e577c240afa0380b61502ae5e1.tar.gz
Sensitive = False results in Not Sensitive. Fixes #20
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py3
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 = []
Powered by cgit v1.2.3 (git 2.41.0)