Skip to content

Commit

Permalink
fix onvif dist packages error
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Apr 16, 2024
1 parent 176a5d8 commit 998c5a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frigate/ptz/onvif.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ def __init__(
cam.onvif.port,
cam.onvif.user,
cam.onvif.password,
wsdl_dir=Path(find_spec("onvif").origin).parent / "../wsdl",
wsdl_dir=str(
Path(find_spec("onvif").origin).parent / "../wsdl"
).replace("dist-packages", "site-packages"),
),
"init": False,
"active": False,
Expand Down

0 comments on commit 998c5a1

Please sign in to comment.