fix weight check only when auto-judge enabled
Merge pull request #91 from divined2004/master

fix weight check only when auto-judge enabled