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/'):
|
if path.startswith('/lockout/'):
|
||||||
return True
|
return True
|
||||||
elif path == '/stats/sign/':
|
elif path == '/stats/sign/':
|
||||||
pass
|
pass # log this one
|
||||||
elif path.startswith('/stats/'):
|
elif path.startswith('/stats/'):
|
||||||
return True
|
return True
|
||||||
elif path == '/sessions/' and user == None:
|
elif path == '/sessions/' and user == None:
|
||||||
return True
|
return True
|
||||||
|
elif path in ['/pinball/high_scores/']:
|
||||||
|
return True
|
||||||
|
|
||||||
if request.data:
|
if request.data:
|
||||||
if type(request.data) is not dict:
|
if type(request.data) is not dict:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user