Rewrite devkit service in python.
Compare changes
- Jeremy Whiting authored
Removes global MACHINE_NAME and simplifies it a bit.
+ 36
− 23
@@ -52,13 +52,15 @@ PROPERTIES = {"txtvers": 1,
@@ -68,13 +70,15 @@ def writefile(data: bytes) -> str:
@@ -138,7 +142,8 @@ def write_key(post_body: bytes) -> str:
@@ -178,22 +183,30 @@ def find_hook(name: str) -> str:
@@ -270,7 +283,7 @@ class DevkitHandler(BaseHTTPRequestHandler):
@@ -320,7 +333,7 @@ class DevkitService:
@@ -366,7 +379,7 @@ class DevkitService: