Remove default proxy
This commit is contained in:
@@ -11,8 +11,9 @@ class Camera(APIHandler):
|
|||||||
:param username:
|
:param username:
|
||||||
:param password:
|
:param password:
|
||||||
"""
|
"""
|
||||||
# For when you need to connect to a camera behind a proxy
|
# For when you need to connect to a camera behind a proxy, pass
|
||||||
APIHandler.__init__(self, ip, username, password, proxy={"http": "socks5://127.0.0.1:8000"}, https=https)
|
# a proxy argument: proxy={"http": "socks5://127.0.0.1:8000"}
|
||||||
|
APIHandler.__init__(self, ip, username, password, https=https)
|
||||||
|
|
||||||
# Normal call without proxy:
|
# Normal call without proxy:
|
||||||
# APIHandler.__init__(self, ip, username, password)
|
# APIHandler.__init__(self, ip, username, password)
|
||||||
|
|||||||
Reference in New Issue
Block a user