lib/download_tv/myepisodes.rb in download_tv-2.6.1 vs lib/download_tv/myepisodes.rb in download_tv-2.6.2
- old
+ new
@@ -30,14 +30,14 @@
end
def prompt_user_data
if !@user || @user == ''
print 'Enter your MyEpisodes username: '
- @user = STDIN.gets.chomp
+ @user = $stdin.gets.chomp
end
print 'Enter your MyEpisodes password: '
- pass = STDIN.noecho(&:gets).chomp
+ pass = $stdin.noecho(&:gets).chomp
puts
pass
end
def load_cookie