We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc8889 commit adfb053Copy full SHA for adfb053
bpython/curtsiesfrontend/filewatch.py
@@ -38,7 +38,7 @@ def _add_module(self, path):
38
dirname = os.path.dirname(path)
39
if dirname not in self.dirs:
40
self.observer.schedule(self, dirname, recursive=False)
41
- self.dirs[os.path.dirname(path)].add(path)
+ self.dirs[dirname].add(path)
42
43
def _add_module_later(self, path):
44
self.modules_to_add_later.append(path)
0 commit comments