This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pypxe/dhcp.py: avoid exception when invoking export_leases
Fixes the following crash: Traceback (most recent call last): [...] File "/usr/lib/python3.10/site-packages/pypxe/dhcp.py", line 145, in export_leases json.dump(export_safe, leases_file) File "/usr/lib/python3.10/json/__init__.py", line 180, in dump fp.write(chunk) TypeError: a bytes-like object is required, not str
- Loading branch information