forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann 2024-02-16 00:02:43 +02:00
parent 255e591ec9
commit ab91a9cbb6
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class Hole(Base):
blocks = relationship("HoleBlock", primaryjoin="HoleBlock.hole==Hole.name")
followers = relationship("HoleFollow", primaryjoin="HoleFollow.hole==Hole.name")
stealth_hole_unblock = relationship("StealthHoleUnblock", lazy="dynamic", primaryjoin="StealthHoleUnblock.hole==Hole.name")
stealth_hole_unblocks = relationship("StealthHoleUnblock", lazy="dynamic", primaryjoin="StealthHoleUnblock.hole==Hole.name")
def __init__(self, *args, **kwargs):
if "created_utc" not in kwargs: kwargs["created_utc"] = int(time.time())