Skip to content

Commit

Permalink
downloading an OcrdFile will set the URL to the local_filename, fix #96
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jun 14, 2018
1 parent a32c904 commit 569d4b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocrd/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 569d4b4

Please sign in to comment.