fix: convert str to Path

This commit is contained in:
aclist 2026-07-09 12:37:09 +09:00
parent 6a3b4b2bfb
commit fc86b75ca1

View File

@ -60,7 +60,7 @@ class ModManager:
@call_on_thread(dialogs.fetching_mods)
def load_mods(self) -> None:
mods = get_delimited_mods(self.path)
mods = get_delimited_mods(Path(self.path))
if len(mods) < 1:
msg = self.format_mod_statusbar()
func = StoredFunc(lambda: self.emitter.emit("mods_updated", msg, 0))