Travis: Fix test/cli testing

This commit is contained in:
Daniel Marjamäki 2019-06-16 19:11:12 +02:00
parent 2a4be5ae1c
commit 59c7be307c
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,9 @@ namespace {
}
std::string getAddonInfo(const std::string &fileName, const std::string &exename) {
if (fileName.find(".") == std::string::npos)
return getAddonInfo(fileName + ".py", exename);
if (endsWith(fileName, ".py", 3)) {
scriptFile = getFullPath(fileName, exename);
if (scriptFile.empty())