fix hound

This commit is contained in:
Mojca Lorber 2017-01-18 14:40:24 +01:00
parent 6155a458e7
commit f656a1093d

View file

@ -90,11 +90,11 @@ module ProtocolsImporter
end
end
if step_json["tables"]
step_json["tables"].values.each do |table_json|
if step_json['tables']
step_json['tables'].values.each do |table_json|
table = Table.create!(
name: table_json["name"],
contents: Base64.decode64(table_json["contents"]),
name: table_json['name'],
contents: Base64.decode64(table_json['contents']),
created_by: user,
last_modified_by: user
)