Fix truncating
This commit is contained in:
parent
a9d5b983cd
commit
cf2a80b390
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ try:
|
||||||
labels = data.get("labels") or data["lemmas"]
|
labels = data.get("labels") or data["lemmas"]
|
||||||
label = (labels.get("nl") or labels["en"])["value"]
|
label = (labels.get("nl") or labels["en"])["value"]
|
||||||
if len(label) > 46:
|
if len(label) > 46:
|
||||||
label = f"{label:>45}…"
|
label = f"{label:>.45}…"
|
||||||
print(f"{wd_id:>15} | {redirect:>15} | {label}")
|
print(f"{wd_id:>15} | {redirect:>15} | {label}")
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in a new issue