aboutsummaryrefslogtreecommitdiffstats
path: root/qface/watch.py
diff options
context:
space:
mode:
Diffstat (limited to 'qface/watch.py')
-rw-r--r--qface/watch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qface/watch.py b/qface/watch.py
index 9129bfa..df1293e 100644
--- a/qface/watch.py
+++ b/qface/watch.py
@@ -16,6 +16,8 @@ class RunScriptChangeHandler(FileSystemEventHandler):
self.is_running = False
def on_modified(self, event):
+ if event.is_directory:
+ return
self.run()
def run(self):