Browse Source

internally used symlinking method fixed

In the symlink helper method the hardlinking OS call were used instead of the symlinking.
pull/6061/head
ferensz 9 years ago
parent
commit
352fa7c93d
  1. 2
      couchpotato/core/helpers/variable.py

2
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():

Loading…
Cancel
Save