From c65dbf9b1f356b5123f3a8133a5f87c13157d69b Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 15 Sep 2021 17:45:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20ppn2ocr:=20Remove=20obsolete=20c?= =?UTF-8?q?omments=20re=20file:=20URLs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ppn2ocr | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ppn2ocr b/ppn2ocr index b43e227..140a8a3 100755 --- a/ppn2ocr +++ b/ppn2ocr @@ -150,13 +150,6 @@ def make_workspace(ppn, workspace): # Validate workspace #ocrd workspace validate mets.xml | grep -v "Won't download remote image" - # XXX - # Fix 'file:/' URLs to 'file:///' - #sed -i 's#file:/\([^/]\)#file:///\1#' mets.xml - - # Patch mets.xml to use our NFS mount - #sed -i 's#file:///goobi/tiff001/sbb/#file:///srv/digisam_images/sbb/#g' mets.xml - def validate_ppn(ctx, param, value): """Validate a PPN argument"""