pengzhibo168 %!s(int64=5) %!d(string=hai) anos
pai
achega
d1d2752ba9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/EquipmentManagerV3.py

+ 1 - 1
Controller/EquipmentManagerV3.py

@@ -296,7 +296,7 @@ class EquipmentManagerV3(View):
                 userPwd = base64.b64encode(str(userPwd).encode("utf-8")).decode('utf8')
             if i == 2:
                 userPwd = RandomStr(2, False)+str(userPwd)+RandomStr(2, False)
-                userPwd =base64.b64encode(str(userPwd).encode("utf-8")).decode('utf8')
+                userPwd = base64.b64encode(str(userPwd).encode("utf-8")).decode('utf8')
             if i == 3:
                 userPwd = RandomStr(1, False)+str(userPwd)+RandomStr(1, False)
                 userPwd = base64.b64encode(str(userPwd).encode("utf-8")).decode('utf8')