Skip to content

Commit

Permalink
Mise à jour 1.4.3
Browse files Browse the repository at this point in the history
- Amélioration du message d'erreur lorsque qu'une erreur survient dans un solveur
- Le programme se ferme désormais automatiquement après une mise à jour
  • Loading branch information
younesaassila authored Jun 9, 2020
2 parents 7bf4716 + a071ce2 commit 499bc10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified Démarrer Kwyk Solver.lnk
Binary file not shown.
6 changes: 3 additions & 3 deletions kwyk-solver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from functions import int_input, rreplace


version = "1.4.2"
version = "1.4.3"
print("Kwyk Solver")
print(f"Version {version}")

Expand Down Expand Up @@ -60,7 +60,7 @@
try:
exec(f"from solvers import solver_{ex}")
exec(f"solver_{ex}.solve()")
except Exception:
print("\n(!) Une erreur est survenue.")
except Exception as e:
print(f"\n(!) Une erreur est survenue : {str(e)}.")
else:
print("\n(!) Exercice non supporté par le solveur.")

0 comments on commit 499bc10

Please sign in to comment.