webserver.py: Fix parameter handling
This patch applies:
- use `request.decode()` instead of `str()` cast
- replace `string.find()` with pythonic `string in string`
- replace `led.value()` with `led.{on/off}`
- catch all unhandled arguments and display instructions
- rename `statusis` to `text`
- remove not used `e` in `except`
合并状态:未合并 1 条评论