From 894024aa884358b60897d2adaa27f62abb2fce3a Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 3 Jul 2018 08:29:57 +0200 Subject: [PATCH] [Bugfix] Fix a method call in TimezoneField MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It wasn’t a method call, but it should have been. --- calsocial/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calsocial/forms.py b/calsocial/forms.py index 91e10fa..a93504b 100644 --- a/calsocial/forms.py +++ b/calsocial/forms.py @@ -52,7 +52,7 @@ class TimezoneField(SelectField): return - if is_pytz_instance(value): + if self.is_pytz_instance(value): self.data = value return