mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
Fixed py-editor offline use case (#2043)
This commit is contained in:
committed by
GitHub
parent
1a05ea5fd2
commit
d1d1c5740f
@@ -42,6 +42,8 @@ async function execute({ currentTarget }) {
|
||||
? await import(/* webpackIgnore: true */ "../3rd-party/toml.js")
|
||||
: JSON;
|
||||
details.config = parse(await fetch(config).then((r) => r.text()));
|
||||
const { interpreter } = details.config;
|
||||
if (interpreter) details.version = interpreter;
|
||||
}
|
||||
|
||||
const xworker = XWorker.call(new Hook(null, hooks), srcLink, details);
|
||||
|
||||
Reference in New Issue
Block a user