From f38d15946840c293df03e8ccd953093f64f1c568 Mon Sep 17 00:00:00 2001 From: Ignacio Van Droogenbroeck Date: Sun, 15 Nov 2020 13:44:46 -0300 Subject: [PATCH] agregado un break para el else en los loops --- ezcompose.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ezcompose.py b/ezcompose.py index a8bc826..68016ed 100644 --- a/ezcompose.py +++ b/ezcompose.py @@ -44,6 +44,10 @@ text_file.write("\n - " + str(port_published) + ":" + str(port_container)) cont = str(input("\nQueres agregar mas puertos? [y/n]: ")) + + else: + break + else: pass @@ -89,6 +93,9 @@ cont = str(input("\nQueres agregar mas labels? [y/n]: ")) + else: + break + else: pass