Formatting

This commit is contained in:
Firepup Sixfifty 2024-05-01 15:40:41 -05:00
parent c941453818
commit 6bc38c400e
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -18,9 +18,9 @@ while any(len(drops[i]) > 77 for i in drops.keys()):
drops[j] = drops[j][:74] + "..."
if not g:
break
if drops.get(ind+1,None) == None:
drops[ind+1] = ""
drops[ind+1] = f"{drops[ind].split()[-1]} {drops[ind+1]}".strip()
if drops.get(ind + 1, None) == None:
drops[ind + 1] = ""
drops[ind + 1] = f"{drops[ind].split()[-1]} {drops[ind+1]}".strip()
drops[ind] = " ".join(drops[ind].split()[:-1])
title = "\n * ".join(drops.values()).lstrip("\n")
link = doc[5][1].attrib["href"]