fix breaking change in ruby; exists? -> exist?
This commit is contained in:
parent
257c54ee18
commit
009e2fa561
5 changed files with 12 additions and 12 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue