From 352fa7c93d8890de9fb8c1de36e4ed272ccef045 Mon Sep 17 00:00:00 2001 From: ferensz Date: Mon, 8 Feb 2016 21:10:54 +0100 Subject: [PATCH] internally used symlinking method fixed In the symlink helper method the hardlinking OS call were used instead of the symlinking. --- couchpotato/core/helpers/variable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/helpers/variable.py b/couchpotato/core/helpers/variable.py index b16087d..a3dfff5 100755 --- a/couchpotato/core/helpers/variable.py +++ b/couchpotato/core/helpers/variable.py @@ -35,7 +35,7 @@ def symlink(src, dst): import ctypes if ctypes.windll.kernel32.CreateSymbolicLinkW(toUnicode(dst), toUnicode(src), 1 if os.path.isdir(src) else 0) in [0, 1280]: raise ctypes.WinError() else: - os.link(toUnicode(src), toUnicode(dst)) + os.symlink(toUnicode(src), toUnicode(dst)) def getUserDir():