From 79231c6b3895fd9d8ee406190ba13824385b4b13 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Thu, 9 Apr 2020 17:15:06 +0200 Subject: [PATCH] Fixes wrong param name --- cli/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/exceptions.py b/cli/exceptions.py index bb6f2f6..7498ad9 100644 --- a/cli/exceptions.py +++ b/cli/exceptions.py @@ -2,7 +2,7 @@ class InvalidParameter(ValueError): """Raised when a command line parameter is invalid (either missing or wrong)""" def __init__(self, msg, **kwargs): - self.msg = msg + self.reason = msg self.kwargs = kwargs