Skip to content

Commit

Permalink
Merge pull request #85 from ata2001/test
Browse files Browse the repository at this point in the history
Another bug with symlink on windows
  • Loading branch information
ghickman committed Mar 3, 2017
2 parents 670328b + 48cfbb3 commit 1c4da49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvrenamr/main.py
Expand Up @@ -260,7 +260,7 @@ def rename(self, current_filepath, destination_filepath):
import ctypes
source_filepath = source_filepath.decode('UTF-8')
kernel_dll = ctypes.windll.LoadLibrary("kernel32.dll")
kernel_dll.CreateSymbolicLinkA(destination_filepath,
kernel_dll.CreateSymbolicLinkW(destination_filepath,
source_filepath, 0)
else:
shutil.move(source_filepath, destination_filepath)
Expand Down

0 comments on commit 1c4da49

Please sign in to comment.