Commit 58e97318 authored by Alexander Semke's avatar Alexander Semke

[cas] properly set the python backend name when openning Cantor projects

(native or Jupyter).
parent f302ab61
...@@ -1333,6 +1333,8 @@ void MainWin::openProject(const QString& filename) { ...@@ -1333,6 +1333,8 @@ void MainWin::openProject(const QString& filename) {
backendName = QLatin1String("sage"); backendName = QLatin1String("sage");
else if (kernel == QLatin1String("ir")) else if (kernel == QLatin1String("ir"))
backendName = QLatin1String("r"); backendName = QLatin1String("r");
else if (kernel == QLatin1String("python3") || kernel == QLatin1String("python2"))
backendName = QLatin1String("python");
else else
backendName = kernel; backendName = kernel;
} else } else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment