This commit is contained in:
Tulir Asokan
2019-08-06 01:13:27 +03:00
parent 2a9ab569b4
commit bd13c73f2f
2 changed files with 5 additions and 5 deletions
+1
View File
@@ -36,6 +36,7 @@ class TelegramFile(Base):
thumbnail_id: str = Column("thumbnail", String, ForeignKey("telegram_file.id"), nullable=True)
thumbnail: Optional['TelegramFile'] = None
@classmethod
def scan(cls, row: RowProxy) -> 'TelegramFile':
loc_id, mxc, mime, conv, ts, s, w, h, thumb_id = row
thumb = None