Import Windows specific modules only on Windows systems

This commit is contained in:
shreyamalviya 2021-05-20 16:55:27 +05:30 committed by Shreya
parent 4640a760ff
commit b4708fc2cb
1 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,6 @@
from monkey_island.cc.environment.utils import is_windows_os
if is_windows_os():
import ntsecuritycon
import win32api
import win32con