mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
my bad
This commit is contained in:
parent
655d4877a1
commit
f817af3ddf
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)
|
||||
|
||||
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':
|
||||
os.link(source, target)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue