Twitter-Follow-and-Unfollow-Bot icon indicating copy to clipboard operation
Twitter-Follow-and-Unfollow-Bot copied to clipboard

I'm getting this error message

Open snoock opened this issue 7 years ago • 4 comments

Enter the number of the action that you want to take: 3 Do you want to keep going? Enter yes or no. yes

Traceback (most recent call last): File "D:\tweet\twitterBot.py", line 344, in main_menu() File "D:\tweet\twitterBot.py", line 67, in main_menu Continue() File "D:\tweet\twitterBot.py", line 328, in Continue keep_going = input('Do you want to keep going? Enter yes or no. \n' File "", line 1, in NameError: name 'yes' is not defined

sorry I'm a noob

snoock avatar Dec 06 '17 09:12 snoock

Yes, the problem is your are inserting to a String variable this: continue = yes You have to make it like this: continue = 'yes' for that not write

yes

Write on the terminal

'yes'

And its going to work perfect.

axeforeverjumo avatar Jan 25 '18 09:01 axeforeverjumo

Getting the same error. Even if i type 'yes' the bot will restart at the main menu. Someone please can help ?

Greeting

Wrexen avatar Mar 13 '18 11:03 Wrexen

bump

brahmanggi avatar Jun 27 '18 06:06 brahmanggi

Same

SPIRY-RO avatar Jul 18 '18 04:07 SPIRY-RO