transfers fix
This commit is contained in:
parent
1e3f1a1962
commit
5faab645c2
4 changed files with 10 additions and 11 deletions
|
@ -118,8 +118,8 @@ class Comment(Base):
|
|||
@property
|
||||
@lazy
|
||||
def age_string(self):
|
||||
if self.created_utc: timestamp = self.created_utc
|
||||
elif self.notif_utc: timestamp = self.notif_utc
|
||||
if self.notif_utc: timestamp = self.notif_utc
|
||||
elif self.created_utc: timestamp = self.created_utc
|
||||
else: return None
|
||||
|
||||
age = int(time.time()) - timestamp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue