Run arbitrary scripts from Cmd command line
This commit is contained in:
@@ -1334,7 +1334,7 @@ void Application::processFiles(const std::list<std::string>& files)
|
||||
Base::Interpreter().runFile(file.filePath().c_str(), true);
|
||||
}
|
||||
else if (file.hasExtension("py")) {
|
||||
try {
|
||||
try{
|
||||
Base::Interpreter().loadModule(file.fileNamePure().c_str());
|
||||
}
|
||||
catch(const PyException&) {
|
||||
|
||||
Reference in New Issue
Block a user