Skip to content

Commit

Permalink
Prompt user to close script
Browse files Browse the repository at this point in the history
  • Loading branch information
Admiral-Fish committed Dec 18, 2019
1 parent 85c3370 commit 43d4960
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions raid_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,16 @@ def searchInput():

def main():
if len(sys.argv) == 1:
searchInput()
return searchInput()
else:
searchPKM()
return searchPKM()

if __name__ == "__main__":
if main() == False:
print("No raid seed")
print("This means one of three things")
print("1. You entered something wrong")
print("2. This script does not check for forced shiny since that takes a long time to compute. Try again with a non-shiny raid")
print("3. You encountered an extremely rare edge case (odds are you fall under case 1 though)")
if main() == False:
print("No raid seed")
print("This means one of three things")
print("1. You entered something wrong")
print("2. This script does not check for forced shiny since that takes a long time to compute. Try again with a non-shiny raid")
print("3. You encountered an extremely rare edge case (odds are you fall under case 1 though)")

input("Press ENTER to exit")

0 comments on commit 43d4960

Please sign in to comment.