fix syntax error
This commit is contained in:
parent
d2ca88ed43
commit
d2a06bed15
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def simple_user_agent(request):
|
|||
Utility function to show the user agent in a human-readable form. Uses
|
||||
simple parser from httpagentparser and removes the punctuation from that.
|
||||
"""
|
||||
return ', '.join(httpagentparser.simple_detect(request.META.get('HTTP_USER_AGENT', tuple()))
|
||||
return ', '.join(httpagentparser.simple_detect(request.META.get('HTTP_USER_AGENT', tuple())))
|
||||
|
||||
def index(request, full=True):
|
||||
users_cached = cache.get('djangobb_users_online', {})
|
||||
|
|
Reference in a new issue