ITADN

webserver.py: Fix parameter handling

#67Pull Requestpkoscik 创建于 2023-05-12
P
pkoscikcommented
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 条评论