mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
uselink = 1 or 0
This commit is contained in:
parent
a21ced86a0
commit
71e575f0c1
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ def is_sample(filePath, inputName, minSampleSize):
|
||||||
|
|
||||||
def copy_link(filePath, targetDirectory, useLink, outputDestination):
|
def copy_link(filePath, targetDirectory, useLink, outputDestination):
|
||||||
create_destination(outputDestination)
|
create_destination(outputDestination)
|
||||||
if useLink:
|
if useLink != 0:
|
||||||
try:
|
try:
|
||||||
Logger.info("COPYLINK: Linking %s to %s", filePath, targetDirectory)
|
Logger.info("COPYLINK: Linking %s to %s", filePath, targetDirectory)
|
||||||
linktastic.link(filePath, targetDirectory)
|
linktastic.link(filePath, targetDirectory)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue