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 fd479d40f9
commit a97a542e68

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: