Fix Sanic arg

I assume the value of `__name__` (module name) was intended.
This commit is contained in:
C. Bess 2016-10-15 13:05:44 -05:00 committed by GitHub
parent 1d519ff407
commit 365adc1fda

View File

@ -7,7 +7,7 @@ Middleware is registered via the middleware decorator, and can either be added a
## Examples
```python
app = Sanic('__name__')
app = Sanic(__name__)
@app.middleware
async def halt_request(request):