devel/py-mdv: Fix runtime error with Python 3.9
PR: 267003 (based on) Reported by: p5B2EA84B3@t-online.de