From c9da6a67d8e495c8c6099fe73d81ef031f8c7494 Mon Sep 17 00:00:00 2001 From: Gregoo Date: Wed, 29 Jan 2025 19:28:23 +0100 Subject: [PATCH] Fix variable type hint --- bricktracker/part.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricktracker/part.py b/bricktracker/part.py index 58f6510..64d71df 100644 --- a/bricktracker/part.py +++ b/bricktracker/part.py @@ -146,7 +146,7 @@ class BrickPart(RebrickablePart): # Update the missing part def update_missing(self, json: Any | None, /) -> None: - missing = json.get('value', '') # type: ignore + missing: str | int = json.get('value', '') # type: ignore # We need a positive integer try: