diff options
Diffstat (limited to '2015/07')
-rw-r--r-- | 2015/07/puzzles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2015/07/puzzles.py b/2015/07/puzzles.py index 37347c7..683e537 100644 --- a/2015/07/puzzles.py +++ b/2015/07/puzzles.py @@ -12,7 +12,7 @@ recipes: dict[str, list[str] | uint16] = {} def solve(wire: str) -> uint16: if wire.isdigit(): - return int(wire) + return uint16(wire) if type(recipes[wire]) == uint16: return recipes[wire] |