forked from upstream-mirrors/OpenTracks
Bugfix: another missed toString() in the id-refactoring.
This commit is contained in:
@@ -153,6 +153,6 @@ public class KmzTrackExporter implements TrackExporter {
|
|||||||
public static String buildKmzImageFilePath(Marker waypoint) {
|
public static String buildKmzImageFilePath(Marker waypoint) {
|
||||||
String ext = FileUtils.getExtension(waypoint.getPhotoUrl());
|
String ext = FileUtils.getExtension(waypoint.getPhotoUrl());
|
||||||
ext = ext == null ? "" : "." + ext;
|
ext = ext == null ? "" : "." + ext;
|
||||||
return KMZ_IMAGES_DIR + File.separatorChar + FileUtils.sanitizeFileName(waypoint.getId() + ext);
|
return KMZ_IMAGES_DIR + File.separatorChar + FileUtils.sanitizeFileName(waypoint.getId().getId() + ext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user