forked from p15670423/monkey
Fixed wmi import bug
This commit is contained in:
parent
1d3f4700c1
commit
3414f39245
|
@ -1,6 +1,10 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.platform.startswith("win"):
|
if sys.platform.startswith("win"):
|
||||||
|
import pythoncom
|
||||||
|
|
||||||
|
pythoncom.CoInitialize()
|
||||||
|
import wmi
|
||||||
import wmi
|
import wmi
|
||||||
|
|
||||||
from .mongo_utils import MongoUtils
|
from .mongo_utils import MongoUtils
|
||||||
|
|
Loading…
Reference in New Issue