diff options
| -rw-r--r-- | combox/events.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/combox/events.py b/combox/events.py index 21df86e..fcf26fe 100644 --- a/combox/events.py +++ b/combox/events.py @@ -61,9 +61,9 @@ class ComboxDirMonitor(LoggingEventHandler):          if file_path.endswith("~"):              return True -        elif file_path.startswith(".#"): +        elif path.basename(file_path).startswith(".#"):              return True -        elif (file_path.startswith("#") and +        elif (path.basename(file_path).startswith("#") and                file_path.endswith("#")):              return True          else: | 
