Skip to content

Commit

Permalink
agregado un break para el else en los loops
Browse files Browse the repository at this point in the history
  • Loading branch information
xe-nvdk committed Nov 15, 2020
1 parent 3aa5ffa commit f38d159
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ezcompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -89,6 +93,9 @@

cont = str(input("\nQueres agregar mas labels? [y/n]: "))

else:
break

else:
pass

Expand Down

0 comments on commit f38d159

Please sign in to comment.