Fixes wrong param name

This commit is contained in:
Sergi Delgado Segura
2020-04-09 17:15:06 +02:00
parent bed21e9625
commit 79231c6b38

View File

@@ -2,7 +2,7 @@ class InvalidParameter(ValueError):
"""Raised when a command line parameter is invalid (either missing or wrong)""" """Raised when a command line parameter is invalid (either missing or wrong)"""
def __init__(self, msg, **kwargs): def __init__(self, msg, **kwargs):
self.msg = msg self.reason = msg
self.kwargs = kwargs self.kwargs = kwargs