summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-02-05 21:11:34 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-02-05 21:11:34 -0500
commit7dffc3c9570105300584986f4740c1bd18094d6f (patch)
tree5a150f9bdbaf637bbe5bba9e0a7b137e2d11c3f8
parent3fcd3b41bde4172dd31b28fc88c4b1735c80d56b (diff)
[bugfix] combox/cbox.py: Forgot to rename ComboxEventHandler -> ComboxDirMonitor. Fixed it now.
-rw-r--r--combox/cbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/combox/cbox.py b/combox/cbox.py
index d369c2c..52c7546 100644
--- a/combox/cbox.py
+++ b/combox/cbox.py
@@ -28,7 +28,7 @@ from sys import exit
from watchdog.observers import Observer
from combox.config import config_cb
-from combox.events import ComboxEventHandler
+from combox.events import ComboxDirMonitor
## Function adapted from Watchdog's docs:
@@ -39,7 +39,7 @@ def run_cb(config):
Runs combox.
"""
c_path = path.abspath(config['combox_dir'])
- event_handler = ComboxEventHandler(config)
+ event_handler = ComboxDirMonitor(config)
observer = Observer()
observer.schedule(event_handler, c_path, recursive=True)