Skip to content

Commit

Permalink
update regex for deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aarron-lee authored and aleasto committed Nov 19, 2023
1 parent b6107a1 commit 66c8343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/helpers/net.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ def get_device_ip_address():

try:
with open(lease_file) as f:
return re.search("(\d{1,3}\.){3}\d{1,3}\s", f.read()).group().strip()
return re.search(r"(\d{1,3}\.){3}\d{1,3}\s", f.read()).group().strip()
except:
pass
pass

0 comments on commit 66c8343

Please sign in to comment.