{"action":"closed","issue":{"url":"https://api.github.com/repos/Kozea/wdb/issues/60","labels_url":"https://api.github.com/repos/Kozea/wdb/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/wdb/issues/60/comments","events_url":"https://api.github.com/repos/Kozea/wdb/issues/60/events","html_url":"https://github.com/Kozea/wdb/issues/60","id":117593013,"number":60,"title":"WdbMiddleware theme error: no theme argument","user":{"login":"Revolution1","id":3241438,"avatar_url":"https://avatars.githubusercontent.com/u/3241438?v=3","gravatar_id":"","url":"https://api.github.com/users/Revolution1","html_url":"https://github.com/Revolution1","followers_url":"https://api.github.com/users/Revolution1/followers","following_url":"https://api.github.com/users/Revolution1/following{/other_user}","gists_url":"https://api.github.com/users/Revolution1/gists{/gist_id}","starred_url":"https://api.github.com/users/Revolution1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Revolution1/subscriptions","organizations_url":"https://api.github.com/users/Revolution1/orgs","repos_url":"https://api.github.com/users/Revolution1/repos","events_url":"https://api.github.com/users/Revolution1/events{/privacy}","received_events_url":"https://api.github.com/users/Revolution1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-18T14:02:55Z","updated_at":"2015-11-19T15:46:52Z","closed_at":"2015-11-19T15:46:52Z","body":"The document says that we can choose a theme in these way\r\n```python\r\n    wdb.server --theme=light  # and if you disable the debugger\r\n    WdbMiddleware(app, theme='light') # or\r\n    wdb_tornado(app, theme='light')\r\n```\r\nBut the fact is that in wdb/ext.py the WdbMiddleware.\\__init\\__ doesn't have the param \"theme\"\r\n```python\r\nclass WdbMiddleware(object):\r\n    def __init__(self, app, start_disabled=False):\r\n        self.app = app\r\n        Wdb.enabled = not start_disabled\r\n```\r\nSo I got the Error:\r\n```python\r\nWdbMiddleware(app.wsgi_app, False, theme='dark')\r\nTypeError: __init__() got an unexpected keyword argument 'theme'\r\n```\r\n\r\nenvironment:\r\nwdb==2.1.8 # installed from pip\r\nubuntu 14.04\r\npython2.7"}}