Don't log pinball high score get
This commit is contained in:
parent
fc62da9c5c
commit
8dcc61817f
|
@ -19,11 +19,13 @@ class LoggingThrottle(throttling.BaseThrottle):
|
|||
if path.startswith('/lockout/'):
|
||||
return True
|
||||
elif path == '/stats/sign/':
|
||||
pass
|
||||
pass # log this one
|
||||
elif path.startswith('/stats/'):
|
||||
return True
|
||||
elif path == '/sessions/' and user == None:
|
||||
return True
|
||||
elif path in ['/pinball/high_scores/']:
|
||||
return True
|
||||
|
||||
if request.data:
|
||||
if type(request.data) is not dict:
|
||||
|
|
Loading…
Reference in New Issue
Block a user