Skip to content

Commit

Permalink
Fixed incorrect order of attribute access in EventHandler constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Davidson committed Nov 19, 2012
1 parent b986719 commit 3567f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybit-watcher
Expand Up @@ -76,10 +76,10 @@ class EventHandler(pyinotify.ProcessEvent):
logging.debug(stdout) logging.debug(stdout)


def __init__(self, settings): def __init__(self, settings):
self.settings = settings
self.sleeptime = 3 self.sleeptime = 3
if 'sleeptime' in self.settings: if 'sleeptime' in self.settings:
self.sleeptime = self.settings['sleeptime'] self.sleeptime = self.settings['sleeptime']
self.settings = settings
ProcessEvent.__init__(self) ProcessEvent.__init__(self)




Expand Down

0 comments on commit 3567f9c

Please sign in to comment.