Skip to content

Commit

Permalink
don't split resource id into parts
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Dec 16, 2016
1 parent 2c47e93 commit 639b327
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/converters/dlc_converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ def get_output_path
private

def get_or_create_resource(row)
id_a = row['resource_id'].split(/\s+/)
# turns out Emma wants the whole id in id_0
# leaving this stuff here because, when, you know ...
# id_a = row['resource_id'].split(/\s+/)
id_a = [row['resource_id']]
id_a = id_a + Array.new(4 - id_a.length)
identifier_json = JSON(id_a)

Expand Down

0 comments on commit 639b327

Please sign in to comment.