Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 39

Añado threads, ya detecta nuevas isos

Ver diferencias:

WebServer.py
def do_GET(self):
try:
if self.path.endswith(".iso") or self.path.endswith(".md5"):
file = "/var/lib/autoclone/www/" + self.path
file = "/var/lib/autocloneserver/www/" + self.path
f = open(file)
s = os.path.getsize(file)

Exportar a: Unified diff