Use dict syntax (#41325)

This commit is contained in:
Paulus Schoutsen 2020-10-06 15:02:23 +02:00 committed by GitHub
parent 61f919b18c
commit 4d5948b4d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 40 additions and 38 deletions

View file

@ -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."""