Permalink
Browse files

Fixed incorrect order of attribute access in EventHandler constructor.

  • Loading branch information...
1 parent b986719 commit 3567f9c9fbd24278633b6314c64d64406cbd2876 Nicholas Davidson committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pybit-watcher
View
@@ -76,10 +76,10 @@ class EventHandler(pyinotify.ProcessEvent):
logging.debug(stdout)
def __init__(self, settings):
+ self.settings = settings
self.sleeptime = 3
if 'sleeptime' in self.settings:
self.sleeptime = self.settings['sleeptime']
- self.settings = settings
ProcessEvent.__init__(self)

0 comments on commit 3567f9c

Please sign in to comment.