Commit 2ee77693 authored by Lucas Bourneuf's avatar Lucas Bourneuf

bugfix

parent 07ebfb4c
......@@ -181,6 +181,6 @@ def compile_run_on(language:str, code:str, updater:callable=None) -> callable:
else:
raise NotImplementedError(f"Language {language} is not supported.")
if updater and module: updater(module)
run_on._source = code
if updater and module: updater(module)
return run_on
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment