fix bug
This commit is contained in:
@ -34,4 +34,4 @@ class Site(Base):
|
||||
|
||||
@staticmethod
|
||||
def get_actives(db: Session):
|
||||
return db.query(Site).filter(Site.is_active is True).all()
|
||||
return db.query(Site).filter(Site.is_active == 1).all()
|
||||
|
@ -267,7 +267,7 @@ class Slack:
|
||||
free = torrent.get_volume_factor_string()
|
||||
seeder = f"{torrent.seeders}↑"
|
||||
description = torrent.description
|
||||
text = f"{index}. 【{site_name}】[{title}]({link}) {free} {seeder}\n{description}"
|
||||
text = f"{index}. 【{site_name}】*<{link}|{title}>* {free} {seeder}\n{description}"
|
||||
blocks.append(
|
||||
{
|
||||
"type": "section",
|
||||
|
Reference in New Issue
Block a user