Line 97 in preparemoodle.py only works for German Moodles.
preparemoodle.py
Was already fixed for the bash version: f4c4b170