mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix Django course creation
This commit is contained in:
@@ -302,6 +302,9 @@ public class EduStepicConnector {
|
||||
final List<AnswerPlaceholder> placeholders = file.getAnswerPlaceholders();
|
||||
for (AnswerPlaceholder placeholder : placeholders) {
|
||||
final AnswerPlaceholderSubtaskInfo info = placeholder.getActiveSubtaskInfo();
|
||||
if (info == null) {
|
||||
continue;
|
||||
}
|
||||
final int offset = placeholder.getOffset();
|
||||
final int length = placeholder.getLength();
|
||||
if (fileText.length() > offset + length) {
|
||||
|
||||
Reference in New Issue
Block a user