tab to spaces

This commit is contained in:
Hedy Li 2021-07-15 10:37:30 +08:00
parent cee07f6523
commit eb09099526
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 4 additions and 4 deletions

View File

@ -7,10 +7,10 @@ import spartan
res = spartan.get("spartan://mozz.us/echo", "hi")
while True:
buf = res.read()
if not buf:
break
sys.stdout.buffer.write(buf)
buf = res.read()
if not buf:
break
sys.stdout.buffer.write(buf)
res.close()
```