fixing question nil issue in code_of_last_attempt
Merge pull request #209 from wangqiang1208/features/auto-save-training

fixing question nil issue in code_of_last_attempt