From 5b9671033ab3f5b1a4335496c15c6a6be039a29e Mon Sep 17 00:00:00 2001 From: niansa Date: Fri, 10 Apr 2020 17:17:10 +0200 Subject: [PATCH] Add environment to main interpreter class --- intern.py | 1 + 1 file changed, 1 insertion(+) diff --git a/intern.py b/intern.py index 56f9b70..5ddba55 100644 --- a/intern.py +++ b/intern.py @@ -31,6 +31,7 @@ class main_class: def __init__(self): self.modules = {} self.commands = {} + self.environment = environment environment.evaluate = self.run_command # Load and import modules for module in os.listdir("modules"):