mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
WindowsSymlinkOverride: small init bugfix
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user