mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-704 Unable to preview course from course creator with russian name on Windows
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ class CreateFromArchiveProjectStep extends PyCharmNewProjectStep {
|
||||
String zipName = FileUtil.sanitizeFileName(course.getName());
|
||||
String locationDir = folder.getPath();
|
||||
CCCreateCourseArchive.createCourseArchive(myProject, myModule, zipName, locationDir, false);
|
||||
String path = FileUtil.join(folder.getPath(), zipName + ".zip");
|
||||
String path = FileUtil.join(FileUtil.toSystemDependentName(folder.getPath()), zipName + ".zip");
|
||||
StudyProjectGenerator generator = myGenerator.getGenerator();
|
||||
CourseInfo info = generator.addLocalCourse(path);
|
||||
assert info != null;
|
||||
|
||||
Reference in New Issue
Block a user