Skip to content

Commit

Permalink
fix issue with loading api uploaded files (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
hossenlopp authored and Luke Osborne committed Aug 26, 2019
1 parent e434c7c commit 01f7b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/measure-loader/mat_measure_files.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class << self

def unzip_measure_zip_into_hash(zip_file)
folders = Hash.new { |h, k| h[k] = {files: []} }
Zip::File.open zip_file do |file|
Zip::File.open zip_file.path do |file|
file.each do |f|
pn = Pathname(f.name)
next if '__MACOSX'.in? pn.each_filename # ignore anything in a __MACOSX folder
Expand Down

0 comments on commit 01f7b2d

Please sign in to comment.