diff --git a/commands/tinfoil.py b/commands/tinfoil.py index 982e10b..769f83b 100755 --- a/commands/tinfoil.py +++ b/commands/tinfoil.py @@ -118,7 +118,11 @@ for base in bases: remove("nsz/base", 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: if shortid in dlc: