Skip to content

Commit

Permalink
fix script factory mimetype, to be meaningful in webui
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerHees committed Jan 22, 2025
1 parent ebd8a23 commit 2970674
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class PythonScriptEngineFactory implements ScriptEngineFactory {
private boolean cachingEnabled = false;
private boolean jythonEmulation = false;

public static final String SCRIPT_TYPE = "py3";
public static final String SCRIPT_TYPE = "application/x-python3";
private final List<String> scriptTypes = Arrays.asList(PythonScriptEngineFactory.SCRIPT_TYPE);

private final PythonDependencyTracker pythonDependencyTracker;
Expand Down

0 comments on commit 2970674

Please sign in to comment.