Skip to content

Commit

Permalink
Update ssdp.py to fix wuub#93
Browse files Browse the repository at this point in the history
Fix for wuub#93 and hoping for a quick 0.7.1 release so we can push this to HA for the yamaha integration.
  • Loading branch information
slyoldfox authored May 12, 2023
1 parent da90b75 commit 28b5a89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rxv/ssdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def discover(timeout=1.5):
if not m:
continue
url = m.group(1).strip()
res = rxv_details(url)
try:
res = rxv_details(url)
except requests.exceptions.InvalidURL:
res = None
if res:
results.append(res)

Expand Down

0 comments on commit 28b5a89

Please sign in to comment.