Skip to content
Snippets Groups Projects
Commit 5cf1585d authored by Bucknell, Mary S.'s avatar Bucknell, Mary S.
Browse files

Updated Flask to the latest 2.0.x version. Removed the depracation for using...

Updated Flask to the latest 2.0.x version. Removed the depracation for using an external user agent parser to get the browser kind.
parent c456786a
No related branches found
No related tags found
1 merge request!26WDFN-557: Updated Flask to the latest 2.0.x version.
......@@ -301,7 +301,7 @@ def networks(network_cd):
return render_template(
'networks.html',
browser=user_agent_parser.Parse(request.user_agent.string)['os']['family'],
browser=user_agent_parser.Parse(request.user_agent.string)['user_agent']['family'],
http_code=http_code,
network_cd=network_cd,
collection=collection,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment