lint: small semplification of code

This commit is contained in:
boyska 2017-01-19 11:57:10 +01:00
parent ea2013904c
commit be50595fe3
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -57,7 +57,6 @@ 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 ''
def process_formdata(self, valuelist):