Skip to content
Permalink
Browse files

Fix code style

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 30, 2017
1 parent 9b95fbe commit 41a16e08c801b61b4211e4d0ff5db9c00c7a4e79
Showing with 2 additions and 0 deletions.
  1. +2 −0 nikola/plugins/command/auto/__init__.py
@@ -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
@@ -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

0 comments on commit 41a16e0

Please sign in to comment.