This reverts commit 1b2cfcbcd8884bd817b2a810efd61bb64aaa5ec1.
The issue is sorted out and we no longer need this patch that breaks
ocitysmap-renderer2.
---
ocitysmap2/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ocitysmap2/__init__.py b/ocitysmap2/__init__.py
index bc32838..75bdc0c 100644
--- a/ocitysmap2/__init__.py
+++ b/ocitysmap2/__init__.py
@@ -446,7 +446,7 @@ SELECT ST_AsText(ST_LongestLine(
# Ugly way to get the job id, that we need for debugging
# 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
tmpdir = tempfile.mkdtemp(prefix='ocitysmap-%d-' % int(jobid))
--
1.7.5.4