[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

@ -19,3 +19,4 @@ ta-lib
ibapi
deap
pyzmq
wmi

View File

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