Make pylint happy

This commit is contained in:
Orsiris de Jong 2023-02-06 22:28:26 +01:00
parent f11dd381a8
commit bcdeb0d24b

View file

@ -19,7 +19,9 @@ def minimize_current_window():
Minimizes current commandline window in GUI mode
"""
if os.name == "nt":
# pylint: disable=E0401 (import-error)
import win32gui
# pylint: disable=E0401 (import-error)
import win32con
current_executable = os.path.abspath(sys.argv[0])
# console window will have the name of current executable