commit - 980abbce678cf38c1ea77b5784917c835c48f724
commit + 9bfc216b59d0136876cfb9a75353054d0c0518a6
blob - c41fdd2f72a1f07d90dc1af243f851ece7a43c09
blob + cc2de86de87a68e6d41f4b2a9cbc8e9ec8ea924b
--- lonk.py
+++ lonk.py
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"]:
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")
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")