From 3b4c0b6b8f83ae7a7cf6342415f341a551f61e69 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Fri, 28 Apr 2017 16:52:52 +0300 Subject: [PATCH] fix introduction to python course action availability --- .../edu/learning/actions/PyStudyIntroductionCourseAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/actions/PyStudyIntroductionCourseAction.java b/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/actions/PyStudyIntroductionCourseAction.java index 35ca0b58ad70..0b48bac90e66 100644 --- a/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/actions/PyStudyIntroductionCourseAction.java +++ b/python/educational-python/Edu-Python/src/com/jetbrains/edu/learning/actions/PyStudyIntroductionCourseAction.java @@ -50,7 +50,7 @@ public class PyStudyIntroductionCourseAction extends AnAction { } final EduPluginConfigurator configurator = EduPluginConfigurator.INSTANCE.forLanguage(PythonLanguage.getInstance()); final List paths = configurator.getBundledCoursePaths(); - if (paths.isEmpty()) { + if (!paths.isEmpty()) { return; } Presentation presentation = e.getPresentation();