lib/junkie/patched/sjunkieex.rb in junkie-0.0.15 vs lib/junkie/patched/sjunkieex.rb in junkie-0.1.0
- old
+ new
@@ -63,11 +63,11 @@
if selected_link.nil?
log.warn("#{series}(#{identifier}) no links for any specified hoster")
next
end
- episode = Junkie::Episode.new(
- series, selected_link, link_data[:episodedata])
+ episode = Junkie::Episode.new(series, [selected_link], link_data[:episodedata])
+ episode.status = :encrypted
episodes << episode
end
end
episodes