mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-27 06:40:16 +08:00
Use correct CloseHandle
This commit is contained in:
parent
0f51c16745
commit
15c8efa153
@ -30,7 +30,7 @@ def set_process_integrity_level_to_low():
|
|||||||
|
|
||||||
logging.info("Sandbox enabled: Process now running with low integrity token")
|
logging.info("Sandbox enabled: Process now running with low integrity token")
|
||||||
|
|
||||||
win32security.CloseHandle(token)
|
win32api.CloseHandle(token)
|
||||||
|
|
||||||
|
|
||||||
def does_permit_low_integrity_write(icacls_output):
|
def does_permit_low_integrity_write(icacls_output):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user