Use dict syntax (#41325)
This commit is contained in:
parent
61f919b18c
commit
4d5948b4d0
13 changed files with 40 additions and 38 deletions
|
@ -50,7 +50,7 @@ class HuaweiDeviceScanner(DeviceScanner):
|
|||
'"(?P<IPv4Enabled>.*?)","(?P<IPv6Enabled>.*?)",'
|
||||
'"(?P<DeviceType>.*?)"'
|
||||
)
|
||||
LOGIN_COOKIE = dict(Cookie="body:Language:portuguese:id=-1")
|
||||
LOGIN_COOKIE = {"Cookie": "body:Language:portuguese:id=-1"}
|
||||
|
||||
def __init__(self, config):
|
||||
"""Initialize the scanner."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue