fix: cast str to int

This commit is contained in:
aclist 2026-06-17 02:57:50 +09:00
parent 8d77d46eda
commit 0139f6bfba
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ class ConnectionManager:
for title, mod, stamp, size in self.missing_mods:
if self.controller.is_cancel_pending():
return
subscribe(key, mod)
subscribe(key, int(mod))
time.sleep(RATE_LIMIT_THRESHOLD)
if raise_window is True:

View File

@ -117,7 +117,7 @@ class ModManager:
def unsub_atomic_mod(self, mod: str) -> None:
config_man = self.controller.get_config_man()
key = config_man.lookup(Preferences.STEAM)
unsubscribe(key, mod)
unsubscribe(key, int(mod))
steam_path = Path(self.path)
app_path = PeFile.get_nested_app_path(steam_path, APPID_DAYZ)