From 1e7d00e39484a4522fadc88b3386010def98c0b6 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 22 五月 2019 14:45:57 +0800
Subject: [PATCH] 6895 还原技能攻击个数限制
---
Tool/Robot/framework/frame.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Tool/Robot/framework/frame.py b/Tool/Robot/framework/frame.py
index c6f7623..43aad06 100644
--- a/Tool/Robot/framework/frame.py
+++ b/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")
--
Gitblit v1.8.0