discover.py: fix