From f26a5c358150194549be0e3aa07ea71081a14f90 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Thu, 6 Sep 2018 16:31:16 +0800 Subject: [PATCH] Update Python URLs --- src/base/utils/foreignapps.cpp | 2 +- src/gui/mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/utils/foreignapps.cpp b/src/base/utils/foreignapps.cpp index e31243e30..6f27ab3d7 100644 --- a/src/base/utils/foreignapps.cpp +++ b/src/base/utils/foreignapps.cpp @@ -251,7 +251,7 @@ PythonInfo Utils::ForeignApps::pythonInfo() if (!pyInfo.isValid()) { #if defined(Q_OS_UNIX) // On Unix-Like Systems python2 and python3 should always exist - // https://legacy.python.org/dev/peps/pep-0394/ + // https://www.python.org/dev/peps/pep-0394/ if (testPythonInstallation("python3", pyInfo)) return pyInfo; if (testPythonInstallation("python2", pyInfo)) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index acac9ef9f..9de5170e5 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -2049,7 +2049,7 @@ void MainWindow::installPython() setCursor(QCursor(Qt::WaitCursor)); // Download python const QString installerURL = ((QSysInfo::windowsVersion() >= QSysInfo::WV_VISTA) - ? "https://www.python.org/ftp/python/3.5.2/python-3.5.2.exe" + ? "https://www.python.org/ftp/python/3.6.6/python-3.6.6.exe" : "https://www.python.org/ftp/python/3.4.4/python-3.4.4.msi"); Net::DownloadHandler *handler = Net::DownloadManager::instance()->download( Net::DownloadRequest(installerURL).saveToFile(true));