fix get_names

pull/216/head
Aevann 2023-10-20 18:51:05 +03:00
parent 9300f53280
commit 80d7e1fd9a
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def cron(**kwargs):
cron_fn(**kwargs)
def get_names():
return ' and '.join([x[0] for x in g.db.query(Orgy.title).filter_by(type='file').order_by(Orgy.start_utc)])
return ' and '.join([x[0] for x in g.db.query(Orgy.title).filter_by(type='file').order_by(Orgy.start_utc).limit(2)])
def _create_post(title, body, pin_hours):
_delete_all_posts()