Skip to content

Commit d05cde0

Browse files
committed
fix column headers
1 parent 2be2513 commit d05cde0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/victoria2/tools/vic2sgea/export/CsvExporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static void exportCountry(Watch watch, String tag, Path filename) throws
3737
writer.configureBeanMapping(CountryCsvBean.class, fields.toArray(new String[0]));
3838
writer.writeHeader(
3939
fields.stream()
40-
.map(f -> ExportUtils.COUNTRY_FIELDS.getOrDefault(f, f))
40+
.map(f -> ExportUtils.COUNTRY_FIELDS.getOrDefault(f.replace("country.", ""), f))
4141
.toArray(String[]::new)
4242
);
4343

0 commit comments

Comments
 (0)