mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
my bad
This commit is contained in:
parent
448199ae4c
commit
e3f154337b
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ elif useLink == 1 and packed == 0: ## hardlink
|
||||||
target = os.path.join(destination, file)
|
target = os.path.join(destination, file)
|
||||||
|
|
||||||
if os.name == 'nt'
|
if os.name == 'nt'
|
||||||
subprocess.call(['cmd', '/C', 'mklink', '/H', target, source], stdout=subprocess.PIPE)
|
subprocess.call(['cmd', '/C', 'mklink', '/H', source, target], stdout=subprocess.PIPE)
|
||||||
elif os.name == 'posix':
|
elif os.name == 'posix':
|
||||||
os.link(source, target)
|
os.link(source, target)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue