kopia lustrzana https://github.com/hholzgra/ocitysmap
rodzic
af2aa4a985
commit
82ab5d0286
|
@ -444,12 +444,8 @@ SELECT ST_AsText(ST_LongestLine(
|
|||
|
||||
osm_date = self.get_osm_database_last_update()
|
||||
|
||||
# Ugly way to get the job id, that we need for debugging
|
||||
# purposes to get a useful name for the temporary directory.
|
||||
jobid = file_prefix.split('_')[0]
|
||||
|
||||
# Create a temporary directory for all our shape files
|
||||
tmpdir = tempfile.mkdtemp(prefix='ocitysmap-%d-', int(jobid))
|
||||
tmpdir = tempfile.mkdtemp(prefix='ocitysmap')
|
||||
try:
|
||||
LOG.debug('Rendering in temporary directory %s' % tmpdir)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue