Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Jan 13, 2017
1 parent 88778a3 commit 238b560
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions flask_wdb_hook/README.md
Expand Up @@ -7,15 +7,18 @@
### Installation


```python
```bash
$ sudo pip install flask-wdb-hook
```

### How does it work

This package only install a pth file in the site-packages directory which contains:
```python
import wdb; from wdb.ext import WdbMiddleware; from werkzeug import debug; debug.DebuggedApplication = WdbMiddleware # This is so much a hack
import wdb; \
from wdb.ext import WdbMiddleware; \
from werkzeug import debug; \
debug.DebuggedApplication = WdbMiddleware # This is so much a hack
```

As pth files contain either import path or python import statement, we abuse the import evaluation to patch the werkzeug debugger in the same statement.
Expand Down

0 comments on commit 238b560

Please sign in to comment.