fix another options bug in loadTable

This commit is contained in:
benfry
2012-12-16 15:59:42 +00:00
parent 08f844b406
commit 0e52bf2653

View File

@@ -5793,7 +5793,11 @@ public class PApplet extends Applet
String ext = checkExtension(filename);
if (ext != null) {
if (ext.equals("csv") || ext.equals("tsv")) {
options = ext + ",";
if (options == null) {
options = ext;
} else {
options = ext + "," + options;
}
}
}
return new Table(createInput(filename), options);