remove debug writes

This commit is contained in:
Kay Faraday 2023-09-21 07:35:03 +00:00
parent 0fdd60ba01
commit b94fb9c82c
1 changed files with 0 additions and 4 deletions

View File

@ -25,10 +25,6 @@ async def handle_finger(reader, writer):
username = handle.removeprefix('@').removesuffix('@' + config['instance_name']) username = handle.removeprefix('@').removesuffix('@' + config['instance_name'])
if '@' in username: if '@' in username:
writer.write(b'Error: user must be local to this instance\n') writer.write(b'Error: user must be local to this instance\n')
writer.write(username.encode())
writer.write(b'\n')
writer.write(config['instance_name'].encode())
writer.write(b'\n')
return return
resp = await db.get().fetchval( resp = await db.get().fetchval(