Fix missing logic to handle empty string from dynamic input

This commit is contained in:
2025-01-29 15:59:00 +01:00
parent e2b8b51db8
commit b142ff5bed
+3
View File
@@ -148,6 +148,9 @@ class BrickPart(RebrickablePart):
# We need a positive integer # We need a positive integer
try: try:
if missing == '':
missing = 0
missing = int(missing) missing = int(missing)
if missing < 0: if missing < 0: