From e5976ab5d43664a83884441e30a696de5321dcd7 Mon Sep 17 00:00:00 2001 From: Dmitry Ermakov Date: Thu, 18 Apr 2024 11:11:38 +0300 Subject: [PATCH] Fix changePasswd --- dvrip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvrip.py b/dvrip.py index 6c28c85..48f1892 100644 --- a/dvrip.py +++ b/dvrip.py @@ -453,7 +453,7 @@ class DVRIPCam(object): { "EncryptType": "MD5", "NewPassWord": self.sofia_hash(newpass), - "PassWord": oldpass or self.password, + "PassWord": oldpass or self.hash_pass, "SessionID": "0x%08X" % self.session, "UserName": user or self.user, },