Fix csv header throwing error while loading products
parent
fb64d82bb9
commit
2d36a3d0d2
|
|
@ -28,6 +28,7 @@ public class Main {
|
||||||
ArrayList<String> lines;
|
ArrayList<String> lines;
|
||||||
try {
|
try {
|
||||||
lines = readFile(path);
|
lines = readFile(path);
|
||||||
|
lines.removeFirst();
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
lines = new ArrayList<>();
|
lines = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue