mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 15:12:48 +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"
|
file = path / "init.c"
|
||||||
return file.exists()
|
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*"
|
delimiter=r"\s*=\s*"
|
||||||
modmeta = {}
|
modmeta = {}
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user