hch
2018-11-02 f2353ecfe5ef59248145b7fd49bc5602151a7a5f
4575 脱机挂登录 unicode转str问题
1个文件已修改
2 ■■■ 已修改文件
Tool/Robot/framework/frame.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tool/Robot/framework/frame.py
@@ -173,7 +173,7 @@
            # 数据库取出为unicode
            clientMac = "abc"
            
            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]), result['AppID'])
            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]), str(result['AppID']))
            if account not in self.tokenList:
                self.tokenList.append(account)