From 55e96ba78d8b2c1ed1f9c2adbba974f25ea6ddf0 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Tue, 12 Feb 2013 02:53:46 -0800 Subject: [PATCH] added debug print. --- TorrentToMedia.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index d7dac065..fed6789a 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -127,6 +127,8 @@ if set(ext).intersection(set(test)): elif set(ext).intersection(set(test2)): print "INFO: Found media files, moving" else: + print "DEBUG: Found files with extensions %s." % (ext) + print "DEBUG: Looking for extensions %s or %s." % (test, tests2) print "INFO: Didn't find any compressed archives or media files to process, exiting" sys.exit(-1)