From efac0b6566cb58ffab5c74c389a7345eff7b387b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sat, 21 Dec 2019 18:13:29 +0100 Subject: Bugfix non-ASCII intcode --- 19/py/intcode.py | 2 ++ 1 file changed, 2 insertions(+) (limited to '19/py') diff --git a/19/py/intcode.py b/19/py/intcode.py index 8afa12f..843688c 100644 --- a/19/py/intcode.py +++ b/19/py/intcode.py @@ -19,6 +19,8 @@ class Computer(object): self.instruction_cache = {} if ascii: self.SIG_ASCII = True + else: + self.SIG_ASCII = False self.reset() -- cgit v1.2.1