Browse Source

V 0.1

master
root 3 years ago
parent
commit
a07a6c44e3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      server.py

+ 1
- 0
server.py View File

@@ -33,6 +33,7 @@ class ClientThread(threading.Thread):
def run(self):
# print("Connection de %s sur le port %s" % (self.ip, self.port, ))
# print ("Le client a envoye : %s" % (r))
r = decrypt(self.clientsocket.recv(2048)) # Reception
if r == code: # Si le client a bien repondu
change = 0
fichier=open(fichier_zone, 'r') # on ouvre le fichier

Loading…
Cancel
Save