mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
restructure api examples
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ class Interpreter:
|
||||
|
||||
def execute(self, s: str):
|
||||
try:
|
||||
exec(s, self.env_globals, self.env_locals)
|
||||
exec(s, self.env_globals, self.env_locals) # pylint: disable=exec-used
|
||||
except Exception as e:
|
||||
print(f'{e.__class__.__name__}: {e}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user