Bugfix mature content

Update german translation
This commit is contained in:
OzzieIsaacs
2017-08-12 18:52:56 +02:00
parent b596734c36
commit fb8ce693f3
5 changed files with 442 additions and 385 deletions
+3 -2
View File
@@ -2316,8 +2316,9 @@ def profile():
content.sidebar_view += ub.SIDEBAR_READ_AND_UNREAD
if "show_detail_random" in to_save:
content.sidebar_view += ub.DETAIL_RANDOM
if "default_language" in to_save:
content.default_language = to_save["default_language"]
content.mature_content = "show_mature_content" in to_save
try:
ub.session.commit()
except IntegrityError: