Fix missing logic to handle empty string from dynamic input

This commit is contained in:
Gregoo 2025-01-29 15:59:00 +01:00
parent e2b8b51db8
commit b142ff5bed

View File

@ -148,6 +148,9 @@ class BrickPart(RebrickablePart):
# We need a positive integer
try:
if missing == '':
missing = 0
missing = int(missing)
if missing < 0: