lint: small semplification of code
This commit is contained in:
parent
ea2013904c
commit
be50595fe3
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ class EasyDateTimeField(Field):
|
|||
def _value(self):
|
||||
if self.raw_data:
|
||||
return ' '.join(self.raw_data)
|
||||
else:
|
||||
return self.data and self.data.strftime(self.formats[0]) or ''
|
||||
return self.data and self.data.strftime(self.formats[0]) or ''
|
||||
|
||||
def process_formdata(self, valuelist):
|
||||
if valuelist:
|
||||
|
|
Loading…
Reference in a new issue