Update moodle.py