fix: support digit prefixed script in python

This commit is contained in:
Ruben Fiszel
2023-11-10 20:51:28 +01:00
parent 2038fe68ce
commit b9e41d066d
@@ -484,6 +484,11 @@ if args["{name}"] is None:
let module_dir_dot = dirs.replace("/", ".").replace("-", "_");
let last = if last.starts_with(|x: char| x.is_ascii_digit()) {
format!("_{}", last)
} else {
last
};
Ok((
import_loader,
import_base64,