From c85b9082db915864ae0650c048443abbcee32692 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Wed, 9 Nov 2016 21:47:48 -0500 Subject: [PATCH] typo with set variable --- DirWatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DirWatch.py b/DirWatch.py index 102df5d..e002d82 100755 --- a/DirWatch.py +++ b/DirWatch.py @@ -333,7 +333,7 @@ def watch(self): # Store target directory target_path = tidy_path(self.get('NzbDir')) - self.mode = script.get('Mode', DIRWATCH_MODE_DEFAULT) + self.mode = self.get('Mode', DIRWATCH_MODE_DEFAULT) if not isdir(target_path): self.logger.error( "The target directory '%s' was not found." % \