Skip to content

Commit

Permalink
Merge pull request #1045 from mlibrary/DBD-1088-update-import-export-…
Browse files Browse the repository at this point in the history
…and-other-scripts-6

DBD-1088 - Update import/export and other scripts 6
  • Loading branch information
fritzfreiheit authored Sep 26, 2018
2 parents 16c5512 + c8158d9 commit 49eaba4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/services/deepblue/yaml_populate_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ def yaml_escape_value( value, comment: false, escape: false )

def yaml_export_file_path( target_dirname:, file_set: )
file = MetadataHelper2.file_from_file_set( file_set )
export_file_name = file.original_name
export_file_name = ""
export_file_name = file&.original_name
target_dirname.join "#{file_set.id}_#{export_file_name}"
end

Expand Down

0 comments on commit 49eaba4

Please sign in to comment.