Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix code style
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 30, 2017
1 parent 9b95fbe commit 41a16e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nikola/plugins/command/auto/__init__.py
Expand Up @@ -426,6 +426,7 @@ def transform_html(self, text):
# https://github.com/biesnecker/hachiko
class NikolaEventHandler:
"""A Nikola-specific event handler for Watchdog. Based on code from hachiko."""

def __init__(self, function, loop):
"""Initialize the handler."""
self.function = function
Expand All @@ -443,6 +444,7 @@ def dispatch(self, event):

class ConfigEventHandler(NikolaEventHandler):
"""A Nikola-specific handler for Watchdog that handles the config file (as a workaround)."""

def __init__(self, configuration_filename, function, loop):
"""Initialize the handler."""
self.configuration_filename = configuration_filename
Expand Down

0 comments on commit 41a16e0

Please sign in to comment.