From 8e5b6deb956854881aacbe0425e57403c3966b97 Mon Sep 17 00:00:00 2001 From: dbr Date: Sun, 22 Jun 2008 21:21:05 +0930 Subject: [PATCH] Changed no-files-found exit code to non-zero --- 2checkTvEps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2checkTvEps.py b/2checkTvEps.py index 9aeff21..47fdfb6 100755 --- a/2checkTvEps.py +++ b/2checkTvEps.py @@ -105,7 +105,7 @@ files = [os.path.join(loc,x) for x in files] # append path to file name # Warn if no files are found, then exit if files.__len__() == 0: print colour('No files found','red') - sys.exit(0) + sys.exit(1) errors = {