From 71e575f0c1591cc91604686fcae4d8f2aaeac9a7 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Mon, 11 Mar 2013 23:17:33 -0700 Subject: [PATCH] uselink = 1 or 0 --- nzbToMediaUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nzbToMediaUtil.py b/nzbToMediaUtil.py index 93a37b38..ed7dd1e7 100644 --- a/nzbToMediaUtil.py +++ b/nzbToMediaUtil.py @@ -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)