From 7e70aa6c8e980a5a8a503aebd226344613a4e296 Mon Sep 17 00:00:00 2001
From: mrfry <mr.fry@tutanota.com>
Date: Tue, 30 Mar 2021 11:25:35 +0200
Subject: [PATCH] Commented existed possible answers checking

---
 src/modules/api/api.ts | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/modules/api/api.ts b/src/modules/api/api.ts
index 81fd64a..110af5b 100644
--- a/src/modules/api/api.ts
+++ b/src/modules/api/api.ts
@@ -1012,23 +1012,24 @@ function GetApp(): ModuleType {
 
     const savedQuestions = utils.ReadJSON(savedSubjQuestionsFilePath)
 
+    const testExists = false
     // TODO: do this on another thread?
-    const testExists = savedQuestions.some((savedQuestion) => {
-      const data = utils.ReadJSON(`${subjPath}/${savedQuestion.fname}`)
+    // const testExists = savedQuestions.some((savedQuestion) => {
+    //   const data = utils.ReadJSON(`${subjPath}/${savedQuestion.fname}`)
 
-      return data.questions.some((dQuestion) => {
-        return questions.some((question) => {
-          const percent = compareQuestionObj(
-            createQuestion(question),
-            '',
-            createQuestion(dQuestion),
-            ''
-          )
+    //   return data.questions.some((dQuestion) => {
+    //     return questions.some((question) => {
+    //       const percent = compareQuestionObj(
+    //         createQuestion(question),
+    //         '',
+    //         createQuestion(dQuestion),
+    //         ''
+    //       )
 
-          return percent.avg === 100
-        })
-      })
-    })
+    //       return percent.avg === 100
+    //     })
+    //   })
+    // })
 
     if (testExists) {
       return