mirror of
https://github.com/aclist/dztui.git
synced 2026-08-30 03:37:00 +02:00
Compare commits
No commits in common. "aa43b017d100999d0f3e744f61bf1e3d83ca0fda" and "6a3b4b2bfb72f2a76d55865d7cf3bfbb0b1996bc" have entirely different histories.
aa43b017d1
...
6a3b4b2bfb
@ -344,7 +344,6 @@ def get_app_allows_downloads(path: Path, appid: int) -> bool:
|
|||||||
# NOTE: never allow
|
# NOTE: never allow
|
||||||
case 2:
|
case 2:
|
||||||
return False
|
return False
|
||||||
# NOTE: no other known values at this time
|
|
||||||
case _:
|
case _:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
@ -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(Path(self.path))
|
mods = get_delimited_mods(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