gfd
This commit is contained in:
parent
83e029092b
commit
19a1f907a7
7 changed files with 11 additions and 11 deletions
|
@ -61,6 +61,7 @@ class Submission(Base):
|
|||
subr = relationship("Sub", primaryjoin="foreign(Submission.sub)==remote(Sub.name)", viewonly=True)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if "created_utc" not in kwargs: kwargs["created_utc"] = int(time.time())
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue