fix breaking change in ruby; exists? -> exist?

This commit is contained in:
Ward Wouts 2026-03-13 08:39:42 +01:00
parent 257c54ee18
commit 009e2fa561
5 changed files with 12 additions and 12 deletions

View file

@ -194,7 +194,7 @@ def getenclosure(podcast, item)
end
end
@filelist[filename] = true
if ! File.exists?("#{@podcasts[podcast]["savedir"]}/#{filename}")
if ! File.exist?("#{@podcasts[podcast]["savedir"]}/#{filename}")
puts " getting #{@podcasts[podcast]["savedir"]}/#{filename}"
begin
response = fetch(cast)