kopia lustrzana https://github.com/hholzgra/maposmatic/
do not fail completely on failure to generate map thumbnail
rodzic
d6054e83b8
commit
81dfc610cf
|
@ -578,8 +578,11 @@ class JobRenderer(threading.Thread):
|
|||
output_formats, prefix)
|
||||
|
||||
# Create thumbnail
|
||||
self._gen_thumbnail(prefix, config.paper_width_mm,
|
||||
config.paper_height_mm)
|
||||
try:
|
||||
self._gen_thumbnail(prefix, config.paper_width_mm,
|
||||
config.paper_height_mm)
|
||||
except:
|
||||
pass
|
||||
|
||||
self.result = RESULT_SUCCESS
|
||||
LOG.info("Finished rendering of job #%d." % self.job.id)
|
||||
|
|
Ładowanie…
Reference in New Issue