pass umap file to ocitiesmap renderer

pull/24/head
Hartmut Holzgraefe 2018-02-18 19:54:21 +00:00
rodzic 17aa9ecd1b
commit 9bd7ab6241
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -524,7 +524,10 @@ class JobRenderer(threading.Thread):
config.gpx_file = os.path.join(MEDIA_ROOT, self.job.track.name)
else:
config.gpx_file = False
config.track_bbox_mode = 0
if self.job.umap:
config.umap_file = os.path.join(MEDIA_ROOT, self.job.umap.name)
else:
config.umap_file = False
config.paper_width_mm = self.job.paper_width_mm
config.paper_height_mm = self.job.paper_height_mm
except KeyboardInterrupt: