lib/download_tv/myepisodes.rb in download_tv-2.2.2 vs lib/download_tv/myepisodes.rb in download_tv-2.3.0

- old
+ new

@@ -2,9 +2,10 @@ ## # API wrapper for MyEpisodes class MyEpisodes def initialize(user, save_cookie) @agent = Mechanize.new + @agent.user_agent = DownloadTV::USER_AGENT @user = user @save_cookie = save_cookie @cookie_path = File.join(ENV['HOME'], '.config', 'download_tv', 'cookie') end