From 1b937bdc05c525258b7c9add7b0b67e8488529e4 Mon Sep 17 00:00:00 2001 From: vicsash Date: Fri, 16 Feb 2024 17:08:55 +0100 Subject: [PATCH] Cambio en readme --- Readme.md | 2 +- Servidor/ServidorCajero.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 7ce3535..36a0df0 100644 --- a/Readme.md +++ b/Readme.md @@ -8,6 +8,6 @@ se puede ver cuantos clientes estan conectados y cuantos clientes desconectan de Segundo objetivo era que en caos que no hay suficiente dinero en el cajero, el cliente no puede retirar dinero y sale mensaje que no hay suficiente dinero en el cajero. -Puude necesitar la instalacion de siguintes cosas: +Pude necesitar la instalacion de siguintes cosas: pip install six \ No newline at end of file diff --git a/Servidor/ServidorCajero.py b/Servidor/ServidorCajero.py index c8bbd1b..a1b4d07 100644 --- a/Servidor/ServidorCajero.py +++ b/Servidor/ServidorCajero.py @@ -7,7 +7,7 @@ MAX_CONNECTIONS = 3 MAX_DINERO = 120000 connections = 0 max_connections_reached = False -dinero_lock = threading.Lock() +dinero_lock = threading.Lock() def handle_client(client_socket, addr): global connections