aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-29 02:06:30 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-29 02:06:30 +0200
commit6b887e841d0f40239d9848a3cbeaed149b939f89 (patch)
tree16018875eaeade49ca9be156976b74875e69941b /python
parentd4662b1984cc749ba5986418541dd53952f48732 (diff)
downloadrefcat-6b887e841d0f40239d9848a3cbeaed149b939f89.tar.gz
refcat-6b887e841d0f40239d9848a3cbeaed149b939f89.zip
tasks: fix path
Diffstat (limited to 'python')
-rw-r--r--python/refcat/tasks.py11
1 files changed, 8 insertions, 3 deletions
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):