mirror of
https://github.com/aclist/dztui.git
synced 2026-08-28 18:57:12 +02:00
fix: convert str to Path
This commit is contained in:
parent
6a3b4b2bfb
commit
fc86b75ca1
@ -60,7 +60,7 @@ class ModManager:
|
|||||||
|
|
||||||
@call_on_thread(dialogs.fetching_mods)
|
@call_on_thread(dialogs.fetching_mods)
|
||||||
def load_mods(self) -> None:
|
def load_mods(self) -> None:
|
||||||
mods = get_delimited_mods(self.path)
|
mods = get_delimited_mods(Path(self.path))
|
||||||
if len(mods) < 1:
|
if len(mods) < 1:
|
||||||
msg = self.format_mod_statusbar()
|
msg = self.format_mod_statusbar()
|
||||||
func = StoredFunc(lambda: self.emitter.emit("mods_updated", msg, 0))
|
func = StoredFunc(lambda: self.emitter.emit("mods_updated", msg, 0))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user