We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72febb7 commit ee4ee54Copy full SHA for ee4ee54
src/main.rs
@@ -98,8 +98,7 @@ fn run_command(vm: &VirtualMachine, mut source: String) -> PyResult {
98
99
fn run_module(vm: &VirtualMachine, module: &str) -> PyResult {
100
debug!("Running module {}", module);
101
- let current_path = PathBuf::from(".");
102
- import::import_module(vm, current_path, module)
+ vm.import(module, &vm.ctx.new_tuple(vec![]), 0)
103
}
104
105
fn run_script(vm: &VirtualMachine, script_file: &str) -> PyResult {
0 commit comments