AttributeError: 'NoneType' object has no attribute 'get_votes_min'
Using the latest version 0.3.6, the check subcommand is not working:
framadatectl --url *** --min-votes=2 check next-slot
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.17/x64/bin/framadatectl", line 8, in <module>
sys.exit(main())
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/framadatectl/__main__.py", line 91, in main
return func(config, framadate, args)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/framadatectl/commands.py", line 111, in check_filtered_slots
if not print_slot_check(config, framadate, slot):
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/framadatectl/commands.py", line 45, in print_slot_check
ret = compare_slot_constraints(config, framadate, slot)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/framadatectl/commands.py", line 25, in compare_slot_constraints
if config.get_constraints().get_votes_min() is not None:
AttributeError: 'NoneType' object has no attribute 'get_votes_min'
Thank you for your work!