diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/api/install.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/install.py b/lib/api/install.py index f52233fb..a0d5bba9 100644 --- a/lib/api/install.py +++ b/lib/api/install.py @@ -25,8 +25,11 @@ def palettes(): if sys.platform == "win32": # If we try to just use shutil.copy it says the operation requires elevation. def copy_files(files, dest): + import pythoncom import winutils + pythoncom.CoInitialize() + if not os.path.exists(dest): os.makedirs(dest) |
