safer solution
All checks were successful
dl / lint (push) Successful in 1m50s
dl / docker (push) Successful in 52s

This commit is contained in:
Michel Roux 2023-10-27 11:29:09 +02:00
parent bf5575b21f
commit af6619b7bf

View File

@ -118,7 +118,11 @@ for base in bases:
remove("nsz/base", base) remove("nsz/base", base)
fullid = get_title_fullid(base) fullid = get_title_fullid(base)
shortid = fullid[0:-4] if fullid else fullid
if not fullid:
continue
shortid = fullid[0:-4]
for dlc in dlcs: for dlc in dlcs:
if shortid in dlc: if shortid in dlc: