Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit 21ee75f

Browse files
committed
fix bug when hidden folders stop load loop. and fixes for windows
1 parent b8625f2 commit 21ee75f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/python_interpreter.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ inline pybind11::module pyobject_from_gobj(gpointer ptr){
1616
Python::Interpreter::Interpreter(){
1717
#ifdef _WIN32
1818
auto root_path=Config::get().terminal.msys2_mingw_path;
19-
append_path(root_path/"include/python3.5m");
20-
append_path(root_path/"lib/python3.5");
19+
add_path(root_path/"include/python3.5m");
20+
add_path(root_path/"lib/python3.5");
2121
long long unsigned size = 0L;
2222
#else
2323
long unsigned size = 0L;
@@ -84,7 +84,7 @@ Python::Interpreter::Interpreter(){
8484
for(boost::filesystem::directory_iterator it(plugin_path);it!=end_it;it++){
8585
auto module_name=it->path().stem().string();
8686
if(module_name.empty())
87-
break;
87+
continue;
8888
auto is_directory=boost::filesystem::is_directory(it->path());
8989
auto has_py_extension=it->path().extension()==".py";
9090
auto is_pycache=module_name=="__pycache__";

0 commit comments

Comments
 (0)