Skip to content

Commit 155052a

Browse files
committed
Remove debug statements
1 parent 1f8582a commit 155052a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/compas_rhino/devtools.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@ def _manage_reloader(cls, enable):
7171
def ensure_path():
7272
"""Ensures the current folder is in the system path."""
7373
# Not sure why we need to import sys inside this method but GH complains otherwise
74-
# import sys
7574
import scriptcontext
7675

7776
# First ensure the current folder is in the system path
78-
#filepath = self.ghenv.Component.OnPingDocument().FilePath
7977
filepath = scriptcontext.doc.Component.OnPingDocument().FilePath
8078

8179
if not filepath:
@@ -103,7 +101,7 @@ def start_watcher(self):
103101
# Setup file system watcher on python files
104102
self.watcher = FileSystemWatcher()
105103
self.watcher.Path = dirname
106-
self.watcher.NotifyFilter = NotifyFilters.LastWrite #| NotifyFilters.FileName | NotifyFilters.Size
104+
self.watcher.NotifyFilter = NotifyFilters.LastWrite
107105
self.watcher.IncludeSubdirectories = False
108106
self.watcher.Filter = "*.py"
109107
self.watcher.Changed += self.on_changed

0 commit comments

Comments
 (0)