title: Receiving None screen after keyboard input from user
body: <p>I’m experiencing an issue that I cannot solve.</p>
  <p>Problem:</p>
  <ol>
  <li><p>I have several trials in an experiment – in a middle trial, I want to give subjects a small quiz, which is composed of the 3 questions, one after the other:
  <a href="https://i.stack.imgur.com/c8T07.png" rel="nofollow noreferrer">trialsQuiz</a></p>
  </li>
  <li><p>Each question is written in an Excel file and displayed in a Text component:
  <a href="https://i.stack.imgur.com/NdvKS.png" rel="nofollow noreferrer">Excel</a></p>
  </li>
  </ol>
  <p>Text component for the last question:
  <a href="https://i.stack.imgur.com/yAdUf.png" rel="nofollow noreferrer">textComponent</a></p>
  <ol start="3">
  <li>Each question has “a”, ”b”, ”c” as possible answers – hence I added a keyboard component after the text component that ends the routine:
  <a href="https://i.stack.imgur.com/IdOAD.png" rel="nofollow noreferrer">keyboardComponent</a></li>
  </ol>
  <p>Problem:
  After typing the answer for the last question, the following screen appears to which there is no exiting, apart from pressing the ESCAPE key.
  <a href="https://i.stack.imgur.com/ZCjg2.png" rel="nofollow noreferrer">Problem</a></p>
  <p>I had a code inserted after the last question to trigger the exit from the trials sequence, after removing it, still no change.
  Code:</p>
  <pre><code>if (currentLoop.thisRepN == 1):
      trialsQuiz.finished = True
  </code></pre>
  <p>I also searched for answers on this, but I cannot find anything related other than this page:
  <a href="https://discourse.psychopy.org/t/getting-none-for-rating-response-in-output/8573%5C" rel="nofollow noreferrer">https://discourse.psychopy.org/t/getting-none-for-rating-response-in-output/8573\</a></p>
  <p>I thought that this was due to a key press which was faster than 1 second, but it is not the case.</p>
  <p>I’ve tried multiple ways around it, I don’t know how to solve it.
  Does anyone have any idea?</p>
  <p>Thanks.</p>