From 8c279066d0fa187db92a3b3d7667884753735b8f Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Wed, 30 Jan 2013 19:19:01 -0800 Subject: [PATCH] fix rmtree directory pass-through. --- autoProcessMovie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoProcessMovie.py b/autoProcessMovie.py index e358f62c..3be0eac3 100644 --- a/autoProcessMovie.py +++ b/autoProcessMovie.py @@ -150,4 +150,4 @@ def process(dirName, nzbName=None, status=0): print "movie", movid, "set to try the next best release on CouchPotatoServer" if delete_failed: print "Deleting failed files and folder", dirName - shutil.rmtree('dirName') + shutil.rmtree(dirName)