diff --git a/server.py b/server.py index b289197..d8d0b49 100644 --- a/server.py +++ b/server.py @@ -51,9 +51,9 @@ def relay(): for i in bytes(gemraw): try: if not found: - mtype += i + mtype.append(i) else: - gemcontent_binary += i + gemcontent_binary.append(i) if "\n" in bytes(mtype).decode() and not found: ok = bytes(mtype).decode().split(" ")[0][0] == "2" mimetype = bytes(mtype).decode().split(" ")[1].split(";")[0]