X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/blobdiff_plain/88a5646a568ba5aca9b26bb8423fd9756f6831ca..201100de47bd2baf6d0199fd82f87d83257768d1:/src/nimcoon.nim diff --git a/src/nimcoon.nim b/src/nimcoon.nim index 56e6867..0624bad 100644 --- a/src/nimcoon.nim +++ b/src/nimcoon.nim @@ -85,7 +85,7 @@ proc main() = let userInput = getUserInput() if userInput == "all": - for number in 0..(len(searchResults)): + for number in 0..(limit-1): # Nim decided to deviate from Python ranges here # TODO `spawn` this? handleUserInput(number)