mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-10 06:54:54 +08:00
Make pylint happy
This commit is contained in:
parent
f11dd381a8
commit
bcdeb0d24b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue