pranavgupta1234/rqmonitor

'default' must be a list when 'multiple' is true.

platipusica opened this issue · 1 comments

Hi there,

using python3.8 on Ubuntu, rqmonitor installed with pip

rqmonitor --help
Traceback (most recent call last):
  File "/home/dbabic/Downloads/SAML/py38/bin/rqmonitor", line 5, in <module>
    from rqmonitor.cli import main
  File "/home/dbabic/Downloads/SAML/py38/lib/python3.8/site-packages/rqmonitor/cli.py", line 221, in <module>
    def run(
  File "/home/dbabic/Downloads/SAML/py38/lib/python3.8/site-packages/click/decorators.py", line 247, in decorator
    _param_memo(f, OptionClass(param_decls, **option_attrs))
  File "/home/dbabic/Downloads/SAML/py38/lib/python3.8/site-packages/click/core.py", line 2482, in __init__
    super().__init__(param_decls, type=type, multiple=multiple, **attrs)
  File "/home/dbabic/Downloads/SAML/py38/lib/python3.8/site-packages/click/core.py", line 2108, in __init__
    raise ValueError(
ValueError: 'default' must be a list when 'multiple' is true.

Cheers

Hi,
looks like this was fixed in the code.
Closing.