Removed debug lines
This commit is contained in:
@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user