Commit 77bbcdd2 authored by Jake Howard's avatar Jake Howard
Browse files

Add useragent parsing

parent 2b92acbc
from sanic import Sanic
from sanic_useragent import SanicUserAgent
from lantern.route import main_route
import os
app = Sanic(__name__)
SanicUserAgent.init_app(app)
def main():
......
......@@ -5,7 +5,8 @@ setup(
name="lantern",
version="1.0",
install_requires=[
"sanic==0.4.1"
"sanic==0.4.1",
"sanic-useragent==0.1.2"
],
entry_points="""
[console_scripts]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment