Skip to content

Commit

Permalink
Update win32com imports to win32comext
Browse files Browse the repository at this point in the history
  - Update SHGetSpecialFolderPath import
  - Update CSIDL constants imports
  - Maintain compatibility with win32 platform
  - No functional changes, only module path update
  • Loading branch information
oldgithubman committed Oct 14, 2024
1 parent eea8dfd commit e5bd48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DisplayCAL/defaultpaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

elif sys.platform == "win32":
try:
from win32com.shell.shell import SHGetSpecialFolderPath
from win32com.shell.shellcon import (
from win32comext.shell.shell import SHGetSpecialFolderPath
from win32comext.shell.shellcon import (
CSIDL_APPDATA,
CSIDL_COMMON_APPDATA,
CSIDL_COMMON_STARTUP,
Expand Down

0 comments on commit e5bd48f

Please sign in to comment.