Fix format in archived games update checker
@@ -749,6 +749,10 @@ def get_archived_info(search_new=True,excludehb=True):
g0=g0[0:30]+'...'
else:
g0=g0+(33-len(g0))*' '
+ verprint=str(fileversion)
+ fillver=''
+ if len(verprint)<6:
+ fillver=(6-len(verprint))*' '
v=0;
updateid=fileid[:-3]+'800'
if updateid in dbi_dict.keys() and fileid.endswith('000'):
@@ -764,13 +768,14 @@ def get_archived_info(search_new=True,excludehb=True):
if int(v)>int(fileversion):
if fileid.endswith('000') or fileid.endswith('800'):
updid=fileid[:-3]+'800'
- print(f"{g0} [{baseid}][{fileversion}] -> "+forecombo+ f"[{updid}] [v{v}]"+Style.RESET_ALL)
+ print(f"{g0} [{baseid}][{verprint}]{fillver} -> "+forecombo+ f"[{updid}] [v{v}]"+Style.RESET_ALL)
else:
- print(f"{g0} [{fileid}][{fileversion}] -> "+forecombo+ f"[{fileid}] [v{v}]"+Style.RESET_ALL)
+ print(f"{g0} [{fileid}][{verprint}]{fillver} -> "+forecombo+ f"[{fileid}] [v{v}]"+Style.RESET_ALL)
print("..........................................................")
print("NEW DLCS")
print("..........................................................")
for k in versiondict.keys():
+ try:
if k in dbi_dict.keys() or k.endswith('000') or k.endswith('800'):
continue
else:
@@ -783,7 +788,7 @@ def get_archived_info(search_new=True,excludehb=True):
else:
g0=g0+((33-len(g0))*' ')
print(f"{g0} [{baseid}] -> "+forecombo+ f"[{k}] [v{versiondict[k]}]"+Style.RESET_ALL)
-
+ except:pass
def update_console(libraries="all",destiny="SD",exclude_xci=True,prioritize_nsz=True,tfile=None,verification=True,ch_medium=True,ch_other=False,autoupd_aut=True):
check_connection()
