Fix date property
This commit is contained in:
parent
0ac4b2f9b3
commit
b814aa3053
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class Message(DatabaseTable):
|
|||
else:
|
||||
value = self.header('Date')
|
||||
|
||||
if value is None:
|
||||
if value is not None:
|
||||
ret = search_dates(value)[0][1]
|
||||
|
||||
self._cache['created_on'] = str(ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue