logicguy1 / Discord-Nitro-Generator-and-Checker

Generate discord nitro codes and check them
MIT License
631 stars 1k forks source link

[BUG] Dosent load #79

Closed UltimateBoi closed 2 years ago

UltimateBoi commented 3 years ago

Basically when i try to run it loads then after it types "Enter the amount" etc, it comes up with this error:

Traceback (most recent call last): File "C:\Users\Ultimate\Downloads\Discord-Nitro-Generator-and-Checker-main\Discord-Nitro-Generator-and-Checker-main\main.py", line 182, in <module> Gen.main() # Run the main code File "C:\Users\Ultimate\Downloads\Discord-Nitro-Generator-and-Checker-main\Discord-Nitro-Generator-and-Checker-main\main.py", line 59, in main num = int(input('')) # Ask the user for the amount of codes ValueError: invalid literal for int() with base 10: ''

sys-256 commented 3 years ago

It basically says that what you entered is not an integer. Are you sure your entered value only exists out of numbers (so no spaces, periods, and commas)?

soshimee commented 3 years ago

For me it happens even though I didn't enter ANYTHING.

logicguy1 commented 3 years ago

Nothing is NaN

lukehodges commented 2 years ago

You need to enter an number otherwise it cannot convert a string to a base10