remove debug writes
This commit is contained in:
parent
0fdd60ba01
commit
b94fb9c82c
|
@ -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(
|
||||||
|
|
Reference in New Issue