Camera class updated
This commit is contained in:
@@ -4,8 +4,8 @@ from APIHandler import APIHandler
|
||||
class Camera(APIHandler):
|
||||
|
||||
def __init__(self, ip, username="admin", password=""):
|
||||
APIHandler.__init__(self, ip)
|
||||
APIHandler.__init__(self, ip, username, password)
|
||||
self.ip = ip
|
||||
self.username = username
|
||||
self.password = password
|
||||
super().login(self.username, self.password)
|
||||
super().login()
|
||||
|
||||
Reference in New Issue
Block a user