Commit f6518b39 authored by Fardale's avatar Fardale

correction server.py

parent 5fd2c24b
......@@ -3,7 +3,7 @@
import common
import http.server
import subprocess
import sys
import sys,os,pwd,grp
import argparse
def ssh(host, command):
......@@ -39,7 +39,7 @@ if __name__ == "__main__":
if pid > 0:
# exit first parent
sys.exit(0)
except OSError, e:
except OSError as e:
print("fork #1 failed: %d (%s)" % (e.errno, e.strerror),file=sys.stderr)
sys.exit(1)
......@@ -56,7 +56,7 @@ if __name__ == "__main__":
#print "Daemon PID %d" % pid
open(common.PIDFILE, 'w').write("%d" % pid)
sys.exit(0)
except OSError, e:
except OSError as e:
print("fork #2 failed: %d (%s)" % (e.errno, e.strerror),file=sys.stderr)
sys.exit(1)
......
......@@ -23,6 +23,10 @@ To compile and run:
Terminal version :
make buildplay-term
To launch test :
make test
################### HOW TO PLAY ###################
1)Launch the game.
......@@ -107,4 +111,4 @@ The following people were the developers :
-Ringeade Clément
-Toussaint Etienne
-Thomas Colin
-Ursu Bogdan
\ No newline at end of file
-Ursu Bogdan
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