Collection.media.illegal() was renamed to Collection.media.hasIllegal() in Anki 2.0.12.
Collection.media.illegal() was renamed to Collection.media.hasIllegal() in Anki 2.0.12.

jdoe0/ankisyncd,jdoe0/ankisyncd