Display CSV Index in generated files

stable
Thomas Petazzoni 2009-08-30 00:24:16 +02:00
rodzic 506ea5625d
commit 0cbe52838b
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -79,6 +79,7 @@ class MapRenderingJob(models.Model):
def output_files(self):
allfiles = []
for format in www.settings.RENDERING_RESULT_FORMATS:
if format != 'csv':
allfiles.append((www.settings.RENDERING_RESULT_URL + "/" + self.files_prefix() + "." + format,
self.maptitle + " %s Map" % format.upper()))
allfiles.append((www.settings.RENDERING_RESULT_URL + "/" + self.files_prefix() + "_index." + format,