mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Some release preparation janitoring (#432)
* Use myst-parser for readme.md doc injection * Relax version pins * Define bug tracker and doc links for pypi * Update pre-commit hooks
This commit is contained in:
@@ -44,7 +44,9 @@ def read_payloads_from_file(file):
|
||||
|
||||
try:
|
||||
json_payload = json.loads(decrypted)
|
||||
except Exception as ex: # this can happen when the response is split into multiple tcp segments
|
||||
except (
|
||||
Exception
|
||||
) as ex: # this can happen when the response is split into multiple tcp segments
|
||||
echo(f"[red]Unable to parse payload '{decrypted}', ignoring: {ex}[/red]")
|
||||
continue
|
||||
|
||||
|
Reference in New Issue
Block a user