[modules/nic] Make regex for SSID a raw string
This commit is contained in:
parent
5fb19b66da
commit
a8d1254e06
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class Module(core.module.Module):
|
|||
|
||||
iw_info = util.cli.execute("{} dev {} info".format(self.iw, intf))
|
||||
for line in iw_info.split("\n"):
|
||||
match = re.match("^\s+ssid\s(.+)$", line)
|
||||
match = re.match(r"^\s+ssid\s(.+)$", line)
|
||||
if match:
|
||||
return match.group(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue