lib/fontist/utils/cache.rb in fontist-1.8.3 vs lib/fontist/utils/cache.rb in fontist-1.8.4

- old
+ new

@@ -26,10 +26,10 @@ def load_cache cache_map_path.exist? ? YAML.load_file(cache_map_path) : {} end def downloaded_file(path) - File.new(downloaded_path(path)) + File.new(downloaded_path(path), "rb") end def cache_exist?(path) path && File.exist?(downloaded_path(path)) end