commit 9bfc216b59d0136876cfb9a75353054d0c0518a6 from: Aleksey Ryndin date: Mon Oct 07 13:53:24 2024 UTC Fix: formatting commit - 980abbce678cf38c1ea77b5784917c835c48f724 commit + 9bfc216b59d0136876cfb9a75353054d0c0518a6 blob - c41fdd2f72a1f07d90dc1af243f851ece7a43c09 blob + cc2de86de87a68e6d41f4b2a9cbc8e9ec8ea924b --- lonk.py +++ lonk.py @@ -420,7 +420,7 @@ def page_atme(db_con, client_id, lonk_url, honk_url): def print_gethonks(gethonks_answer, lonk_url, honk_url): def _menu(): - print(f"=> {honk_url.build_url(path='newhonk')} New honk\r") + print(f"=> {honk_url.build_url(path='newhonk')} new honk\r") line = f"=> {lonk_url.build('atme')} @me" if gethonks_answer["mecount"]: @@ -432,7 +432,7 @@ def print_gethonks(gethonks_answer, lonk_url, honk_url line += f' ({gethonks_answer["chatcount"]})' print(line + "\r") - print(f"=> {honk_url.build_url(path='honkers')} Honkers\r") + print(f"=> {honk_url.build_url(path='honkers')} honkers\r") _menu() print("\r") @@ -459,8 +459,8 @@ def print_gethonks(gethonks_answer, lonk_url, honk_url if donk_text: lines.append(donk_text) lines.append("") - lines.append(f'=> {lonk_url.build("bonk", urlencode({"w": honk["XID"]}))} ↺ bonk: Share honk with others') - lines.append(f'=> {honk_url.build_url(path="newhonk", query=urlencode({"rid": honk["XID"]}))} honk back') + lines.append(f'=> {lonk_url.build("bonk", urlencode({"w": honk["XID"]}))} ↺ bonk') + lines.append(f'=> {honk_url.build_url(path="newhonk", query=urlencode({"rid": honk["XID"]}))} ↱ honk back') print("\r\n".join(lines)) print("\r")