uselink = 1 or 0

This commit is contained in:
Clinton Hall 2013-03-11 23:17:33 -07:00
commit 71e575f0c1

View file

@ -145,7 +145,7 @@ def is_sample(filePath, inputName, minSampleSize):
def copy_link(filePath, targetDirectory, useLink, outputDestination):
create_destination(outputDestination)
if useLink:
if useLink != 0:
try:
Logger.info("COPYLINK: Linking %s to %s", filePath, targetDirectory)
linktastic.link(filePath, targetDirectory)