Skip to content

Commit a331a89

Browse files
committed
fix(Lib/os): Windows: unlink not compile
1 parent 538277f commit a331a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pylib/Lib/os_impl/posix_like/unlinkImpl.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ else:
6767
let file = $p
6868
when defined(windows):
6969
let f = newWideCString(file)
70-
if Py_DeleteFileW(f) != 0: ## returns TRUE
70+
if Py_DeleteFileW(f): ## returns TRUE
7171
return true
7272
else:
7373
if unlink(cstring file) == 0'i32: return true # success

0 commit comments

Comments
 (0)