Update server.py
This commit is contained in:
parent
872e4137d4
commit
ec547d1c59
1 changed files with 1 additions and 2 deletions
|
@ -60,7 +60,7 @@ def relay():
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
recived = gemraw.decode().strip()
|
received = gemraw.decode().strip()
|
||||||
except:
|
except:
|
||||||
binary = True
|
binary = True
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
|
@ -72,7 +72,6 @@ def relay():
|
||||||
gemtext = True
|
gemtext = True
|
||||||
code = ""
|
code = ""
|
||||||
escaped = False
|
escaped = False
|
||||||
print([recieved])
|
|
||||||
for i in received.split("\n"):
|
for i in received.split("\n"):
|
||||||
i = i.replace("<", "<")
|
i = i.replace("<", "<")
|
||||||
if firstline:
|
if firstline:
|
||||||
|
|
Loading…
Add table
Reference in a new issue