Skip to content

Commit fdf6835

Browse files
author
Attila Szöllősi
committed
Update tvrenamr
1 parent 5c3ea4e commit fdf6835

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/lib/tvrenamr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
__copyright__ = 'Copyright 2012 George Hickman'
33
__license__ = 'MIT'
44
__title__ = 'tvrenamr'
5-
__version__ = '4.1.0'
5+
__version__ = '4.2.0'

resources/lib/tvrenamr/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def rename(self, current_filepath, destination_filepath):
260260
import ctypes
261261
source_filepath = source_filepath.decode('UTF-8')
262262
kernel_dll = ctypes.windll.LoadLibrary("kernel32.dll")
263-
kernel_dll.CreateSymbolicLinkA(destination_filepath,
263+
kernel_dll.CreateSymbolicLinkW(destination_filepath,
264264
source_filepath, 0)
265265
else:
266266
shutil.move(source_filepath, destination_filepath)

0 commit comments

Comments
 (0)