mirror of
https://github.com/aclist/dztui.git
synced 2026-10-26 20:52:44 +01:00
fix: parse filepath correctly
This commit is contained in:
1 parent
98b550cec6
commit
4f51d962e7
1 file changed
+2
-1
+2
-1
@@ -53,7 +53,8 @@ def is_mission(path: Path) -> bool:
|
||||
file = path / "init.c"
|
||||
return file.exists()
|
||||
|
||||
def tokenize(file: str) -> dict[Any] | None:
|
||||
def tokenize(mod: Path) -> dict[Any] | None:
|
||||
file = mod.joinpath("meta.cpp")
|
||||
delimiter=r"\s*=\s*"
|
||||
modmeta = {}
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user