forked from rDrama/rDrama
1
0
Fork 0

fix localhost being impossible to use

master
Aevann 2023-09-06 01:14:14 +03:00
parent 0b4582f2ae
commit b42b20d5bf
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def cron_fn(every_5m, every_1d):
_grant_one_year_badges()
_grant_two_year_badges()
if every_1d or not cache.get('stats'):
if every_1d or (not cache.get('stats') and not IS_LOCALHOST):
g.db.commit()
_generate_emojis_zip()