lib/chatterbot/ui.rb in chatterbot-0.6.6 vs lib/chatterbot/ui.rb in chatterbot-0.7.0
- old
+ new
@@ -38,10 +38,10 @@
puts "Paste your PIN and hit enter when you have completed authorization.\n\n"
print "> "
STDIN.readline.chomp
rescue Interrupt => e
-
+ exit
end
#
# Ask the user to get an API key from Twitter.
def get_api_key