forked from rDrama/rDrama
fdfd
parent
f7cfaa184e
commit
19944ea9fb
|
@ -171,7 +171,7 @@ import files.classes
|
||||||
from files.routes import *
|
from files.routes import *
|
||||||
import files.helpers.jinja2
|
import files.helpers.jinja2
|
||||||
|
|
||||||
@cache.memoize(UA_BAN_CACHE_TTL)
|
@cache.memoize(timeout=UA_BAN_CACHE_TTL)
|
||||||
def get_useragent_ban_response(user_agent_str):
|
def get_useragent_ban_response(user_agent_str):
|
||||||
"""
|
"""
|
||||||
Given a user agent string, returns a tuple in the form of:
|
Given a user agent string, returns a tuple in the form of:
|
||||||
|
|
Loading…
Reference in New Issue