Explorar o código

version 保存为''

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

+ 1 - 1
Controller/EquipmentManagerV3.py

@@ -68,7 +68,7 @@ class EquipmentManagerV3(View):
         View_Password = self.decode_pwd(View_Password)
         Type = request_dict.get('Type', None)
         ChannelIndex = request_dict.get('ChannelIndex', None)
-        version = request_dict.get('version', None)
+        version = request_dict.get('version', '')
         isCheckMainUser = request_dict.get('isCheckMainUser', None)
         isMainUserExists = False
         if all([UID, NickName, View_Account, Type, ChannelIndex]):