Commit 990a71e8 authored by Bonnegent's avatar Bonnegent
Browse files

pour windows

parent 080f062b
......@@ -38,7 +38,10 @@ class MyServer(BaseHTTPRequestHandler):
except Exception:
name = "inconnue"
else:
name = " ".join(distrib[:2])
try:
name = " ".join(distrib[:2])
except Exception:
name = distrib[0]
return name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment