xdh
2019-06-05 4fe82776f183c8b42a48cccf24e09ca324a55078
Tool/Robot/framework/frame.py
@@ -173,7 +173,7 @@
            # 数据库取出为unicode
            clientMac = "abc"
            
            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]))
            account = (str(result["Psw"]), accID, clientMac, int(result["Adult"]), str(result['AppID']))
            if account not in self.tokenList:
                self.tokenList.append(account)
            
@@ -189,6 +189,9 @@
    def RemoveToken(self, value):
        self.tokenList.remove(value)
    
    def ClearToken(self):
        self.tokenList = []
class WorkerThread(Thread):
    def __init__(self, mgr, dbRobot ):
        Thread.__init__(self, None, None, "WorkerThreadPy")