Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

File existence check

  • Loading branch information...
commit 34dfcb43205507f22e66442b529a51d3c5429c0f 1 parent e116298
@mattolson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rubyXL/parser.rb
View
2  lib/rubyXL/parser.rb
@@ -490,7 +490,7 @@ def self.read_external_files(path)
end
puts "[#{Time.now}] done." if @@debug
end
- else
+ elsif File.exists?(path)
puts "[#{Time.now}] Reading #{path}..." if @@debug
File.open(path, 'rb') do |f|
retval = f.read
Please sign in to comment.
Something went wrong with that request. Please try again.