fix the no datatable cant mining problem
sligthly do a little refactor and fix the empty cube, api would though exception problem.. still alot need to be done though
Merge branch 'master' of github.com:yupbank/mining

* 'master' of github.com:yupbank/mining:
  sligthly do a little refactor and fix the empty cube, api would though exception problem.. still alot need to be done though
  fix the no datatable cant mining problem
Fix pep8