mirror of
https://github.com/KrisKennaway/ii-vision.git
synced 2025-03-11 04:37:03 +00:00
Style
This commit is contained in:
parent
976e26f159
commit
e0ac37fe4a
@ -9,6 +9,8 @@ def main(argv):
|
|||||||
serve_file = argv[1]
|
serve_file = argv[1]
|
||||||
|
|
||||||
def handler(serve_file):
|
def handler(serve_file):
|
||||||
|
nonlocal serve_file
|
||||||
|
|
||||||
class ChunkHandler(socketserver.BaseRequestHandler):
|
class ChunkHandler(socketserver.BaseRequestHandler):
|
||||||
def handle(self):
|
def handle(self):
|
||||||
with open(serve_file, "rb") as f:
|
with open(serve_file, "rb") as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user