diff --git a/lib/hgaster/hooks/generic.py b/lib/hgaster/hooks/generic.py index 873b42e4414625abf7f4e72041c1ab39940fc0a1..96f7feb30c0b44863c50a7d3eb1a060bbe87d772 100644 --- a/lib/hgaster/hooks/generic.py +++ b/lib/hgaster/hooks/generic.py @@ -21,7 +21,7 @@ OK, NOOK = 0, 1 def on_error(): """Tell if it must fail on error or pass silently""" - if ASCFG.get("check-commit") != "error": + if ASCFG.get("check-commit", "error") != "error": return OK return NOOK