From fc0148e5872e7b364be0f903948780d4a64e2d83 Mon Sep 17 00:00:00 2001 From: pathmann Date: Fri, 27 Jan 2017 14:47:54 +0100 Subject: [PATCH] fix typo; the important mode flag was missing --- src/pythonhost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pythonhost.cpp b/src/pythonhost.cpp index 86bddc6..f25db72 100644 --- a/src/pythonhost.cpp +++ b/src/pythonhost.cpp @@ -53,7 +53,7 @@ bool PythonHost::setupDirectories(QString &error) { } #ifdef Q_OS_UNIX - if (chmod(interpreterpath.toUtf8().data(), S_IRUSR | S_IWUSR | S_IWUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) == -1) + if (chmod(interpreterpath.toUtf8().data(), S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) == -1) ts3logdispatcher::instance()->add(QObject::tr("Setting file permissions of the python interpreter failed, you may need to manually set chmod u+x to %1 (%2)").arg(interpreterpath).arg(errno), LogLevel_ERROR); #endif