Browse Source

Merge pull request #6061 from ferensz/develop

internally used symlinking method fixed
pull/6065/head
Ruud Burger 9 years ago
parent
commit
af9411a80b
  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