Skip to content

Commit

Permalink
It fixes #463
Browse files Browse the repository at this point in the history
  • Loading branch information
antolinos committed Nov 26, 2018
1 parent 4f91335 commit afcc3af
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions js/core/view/shipping/csvpuckformview.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,11 @@ CSVPuckFormView.prototype.csvToArray = function(csvContent) {
if (allTextLines){
if (allTextLines.length > 0){
var lines = [];
for (var i=0; i<allTextLines.length -1; i++) {
var line = allTextLines[i].split(',');
lines.push(line);
for (var i=0; i<allTextLines.length -1; i++) {
if (!allTextLines[i].trim().startsWith("#")){
var line = allTextLines[i].split(',');
lines.push(line);
}
}
return lines;
}
Expand Down

0 comments on commit afcc3af

Please sign in to comment.