diff --git a/2020/14.py b/2020/14.py index d658b04..8d03272 100755 --- a/2020/14.py +++ b/2020/14.py @@ -81,8 +81,8 @@ mem, mem2 = dict(), dict() for line in data: address, val = parseLine(line) if( address != "mask" ): - val, oldval = applyMask(val, curMask) - dec_val, dec_oldval = bintodec(val), bintodec(oldval) + val = applyMask(val, curMask) + dec_val = bintodec(val) mem[address] = dec_val