mirror of
https://github.com/aclist/dztui.git
synced 2026-08-29 03:06:56 +02:00
Compare commits
2 Commits
6a3b4b2bfb
...
aa43b017d1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa43b017d1 | ||
|
|
fc86b75ca1 |
@ -344,6 +344,7 @@ def get_app_allows_downloads(path: Path, appid: int) -> bool:
|
||||
# NOTE: never allow
|
||||
case 2:
|
||||
return False
|
||||
# NOTE: no other known values at this time
|
||||
case _:
|
||||
return True
|
||||
|
||||
|
||||
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user