This commit is contained in:
kris 2019-03-14 22:31:07 +00:00
parent 976e26f159
commit e0ac37fe4a

View File

@ -9,6 +9,8 @@ def main(argv):
serve_file = argv[1]
def handler(serve_file):
nonlocal serve_file
class ChunkHandler(socketserver.BaseRequestHandler):
def handle(self):
with open(serve_file, "rb") as f: