From 6b887e841d0f40239d9848a3cbeaed149b939f89 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 29 May 2021 02:06:30 +0200 Subject: tasks: fix path --- python/refcat/tasks.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py index 1e18e8b..f230daa 100644 --- a/python/refcat/tasks.py +++ b/python/refcat/tasks.py @@ -759,7 +759,12 @@ class OpenLibraryWorksSorted(Refcat): class OpenLibraryAuthorMapping(Refcat): """ - Create an OL author id to author name TSV mapping. + Create an OL author id to author name TSV mapping. Output like: + + /authors/OL1000002A Īfilīn Farīd Jūrj Yārid + /authors/OL1000025A Khālid ibn Aḥmad Sulaymān + /authors/OL1000435A Muḥammad Shawqī ibn Ibrāhīm Makkī + /authors/OL1000449A Fāris Mūsá Muṭṭalib Mashāqbah """ def requires(self): return OpenLibraryAuthors() @@ -795,8 +800,8 @@ class OpenLibraryEditionsToRelease(Refcat): skate-conv -B -f oled -Xa <(zstdcat -T0 {map}) | zstd -T0 -c > {output} """, - input=self.input().get("oled"), - map=self.input().get("map")) + input=self.input().get("oled").path, + map=self.input().get("map").path) luigi.LocalTarget(output).move(self.output().path) def output(self): -- cgit v1.2.3