lib/rsr_group/inventory.rb in rsr_group-1.5.1 vs lib/rsr_group/inventory.rb in rsr_group-1.5.2
- old
+ new
@@ -114,10 +114,12 @@
shipping_length: sanitize(row[74]),
shipping_width: sanitize(row[75]),
shipping_height: sanitize(row[76]),
}
end
+
+ ftp.close
end
items
end
@@ -137,9 +139,11 @@
rows << {
stock_number: row[0],
quantity: row[1].to_i,
}
end
+
+ ftp.close
end
rows
end