Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't accidentally require watchdog

  • Loading branch information...
commit 221d1cfcbbd2944fc0c406ea2149f18ea260d2b5 1 parent 00c391c
@adamzap authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/landslide/generator.py
View
3  src/landslide/generator.py
@@ -24,7 +24,6 @@
import utils
import ConfigParser
-from watcher import watch
from subprocess import Popen
import macro as macro_module
@@ -218,6 +217,8 @@ def execute(self):
self.write_and_log()
if self.watch:
+ from watcher import watch
+
self.log(u"Watching %s\n" % self.watch_dir)
watch(self.watch_dir, self.write_and_log)
Please sign in to comment.
Something went wrong with that request. Please try again.