diff --git a/ocrd/workspace.py b/ocrd/workspace.py index 8446a985e..3213ccf08 100644 --- a/ocrd/workspace.py +++ b/ocrd/workspace.py @@ -72,6 +72,7 @@ def download_file(self, f, **kwargs): log.debug("Already downloaded: %s", f.local_filename) else: f.local_filename = self.download_url(f.url, **kwargs) + f.url = 'file://' + f.local_filename return f def download_files_in_group(self, file_grp):