kopia lustrzana https://github.com/hholzgra/ocitysmap
rodzic
1b2cfcbcd8
commit
53735e2815
|
|
@ -446,7 +446,7 @@ SELECT ST_AsText(ST_LongestLine(
|
||||||
|
|
||||||
# Ugly way to get the job id, that we need for debugging
|
# Ugly way to get the job id, that we need for debugging
|
||||||
# purposes to get a useful name for the temporary directory.
|
# purposes to get a useful name for the temporary directory.
|
||||||
jobid = os.path.basename(file_prefix).split('_')[0]
|
jobid = file_prefix.split('_')[0]
|
||||||
|
|
||||||
# Create a temporary directory for all our shape files
|
# Create a temporary directory for all our shape files
|
||||||
tmpdir = tempfile.mkdtemp(prefix='ocitysmap-%d-' % int(jobid))
|
tmpdir = tempfile.mkdtemp(prefix='ocitysmap-%d-' % int(jobid))
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue