mirror of
https://github.com/aclist/dztui.git
synced 2026-08-27 10:17:31 +02:00
fix: parse filepath correctly
This commit is contained in:
parent
98b550cec6
commit
4f51d962e7
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user