mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-04 23:48:42 +01:00
Fixed export when server name contains non ascii
This commit is contained in:
parent
52aaebbd7a
commit
a634c6367b
@ -93,7 +93,7 @@ public class ServerPageExporter extends FileExporter {
|
||||
}
|
||||
|
||||
public void exportJSON(Path toDirectory, Server server) throws IOException, NotFoundException {
|
||||
String serverName = server.getName();
|
||||
String serverName = toFileName(server.getName());
|
||||
|
||||
exportJSON(toDirectory,
|
||||
"serverOverview?server=" + serverName,
|
||||
|
Loading…
Reference in New Issue
Block a user