summaryrefslogtreecommitdiff
path: root/apply
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-11-13 22:38:56 +0100
committerJulian T <julian@jtle.dk>2022-11-13 22:38:56 +0100
commit9537e3d2958e1724253c11950ce83b9df054e686 (patch)
tree6447f101cca22184484c394db40f972ea1ac8a89 /apply
parent5154118c08f82f4cfb947d8f1a59894d8ac151db (diff)
Fix bug in apply and vim config
Diffstat (limited to 'apply')
-rw-r--r--apply/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apply/state.py b/apply/state.py
index 2e9205c..806c785 100644
--- a/apply/state.py
+++ b/apply/state.py
@@ -128,7 +128,7 @@ class StateFile:
self.dirs[path].remove(module)
if len(self.dirs[path]) == 0:
- writer.remove(Path(path))
+ writer.delete(Path(path))
def __delete_link(self, writer: Writer, path: str):
del self.links[path]