WindowsSymlinkOverride: small init bugfix

This commit is contained in:
Dmitry Petrov
2017-04-07 18:25:48 -07:00
parent a6ceb02f97
commit 14c47b0379
+1 -1
View File
@@ -5,7 +5,7 @@ import ctypes
class WindowsSymlinkOverride(object):
FUNC = None
def __index__(self):
def __init__(self):
func = ctypes.windll.kernel32.CreateSymbolicLinkW
func.argtypes = (ctypes.c_wchar_p, ctypes.c_wchar_p, ctypes.c_uint32)
func.restype = ctypes.c_ubyte