[Mod] add wmi into requirements

This commit is contained in:
vn.py 2019-09-19 21:55:33 +08:00
parent 2322406a93
commit 7de6e0fb42
2 changed files with 3 additions and 2 deletions

View File

@ -18,4 +18,5 @@ rqdatac
ta-lib ta-lib
ibapi ibapi
deap deap
pyzmq pyzmq
wmi

View File

@ -239,7 +239,7 @@ class RpcClient:
def join(self): def join(self):
# Wait for RpcClient thread to exit # Wait for RpcClient thread to exit
if self.__thread.isAlive(): if self.__thread and self.__thread.is_alive():
self.__thread.join() self.__thread.join()
self.__thread = None self.__thread = None