From 32860bbe829e7e824ae6f8707cb9dfd6475efb40 Mon Sep 17 00:00:00 2001 From: doubaniux Date: Fri, 8 May 2020 12:16:41 +0800 Subject: [PATCH] fix mastodon toot visibility | fixed #20 --- common/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/forms.py b/common/forms.py index 6b58bba9..f3f1fd89 100644 --- a/common/forms.py +++ b/common/forms.py @@ -41,7 +41,7 @@ class RadioBooleanField(forms.ChoiceField): value = False else: value = bool(value) - return super().to_python(value) + return value class RatingValidator: