diff --git a/gestion/annuaires_pg.py b/gestion/annuaires_pg.py index ec8b6951..3aa4e298 100755 --- a/gestion/annuaires_pg.py +++ b/gestion/annuaires_pg.py @@ -28,7 +28,7 @@ def chbre_prises(batiment, chambre = None): try: return "%03d" % cur.fetchone()[0] except TypeError: - raise ValueError("Prise inexistante") + raise ValueError("Chambre inexistante") else: cur = conn.cursor() cur.execute("SELECT chambre, prise_crans FROM prises WHERE batiment = %s", batiment)