From aa06c900c0ed667d6f9eb7b9214d55b29f628954 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Mon, 16 Jun 2014 20:41:55 +0200 Subject: [PATCH] Fixed atexit routine --- _/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_/__init__.py b/_/__init__.py index 37464d4..45efb8a 100644 --- a/_/__init__.py +++ b/_/__init__.py @@ -53,11 +53,12 @@ def to_be_exec(name): del fragment[:] for i in name.split(): fragment.append(str((len(i)-1))) - #_() def _(): global code global fragment + if not code and not fragment: + return code.extend(fragment) eval(''.join([chr(to_i(c, 6)) for c in chunks(''.join(code), 3)])) code, fragment = [], []