Removed debug lines

This commit is contained in:
2026-03-07 17:48:25 +00:00
parent 21c78ccce5
commit 9f8b5d3e59

View File

@ -67,7 +67,6 @@ class Blueprint(flask.Blueprint):
while self._runWorker:
# Check if we've past the precision threshold
if time.time() - self._currentTS >= self.precision:
_log.debug('Threshold reached.')
# Save everything to the database
self._save()
# Reset variables
@ -229,9 +228,6 @@ def boops(name: str):
if flask.request.method == 'POST':
booperBP.boop(name)
# Update the global counter
#db.GLOBAL.execute('UPDATE booper SET count=? WHERE id=1', (booperBP.boops,))
return {'success': True,
'total': booperBP.getTotalBoops(name),
'24h': booperBP.get24hBoops(name)}