neeru1207 / AI_Sudoku

GUI based Smart Sudoku Solver that tries to extract a sudoku puzzle from a photo and solve it
Creative Commons Zero v1.0 Universal
998 stars 154 forks source link

Slight code cleanup #9

Closed jaykaron closed 4 years ago

jaykaron commented 4 years ago

I don't think this should change any functionality. Some extraneous lines were removed and some similar functions combined into one.

Thanks for the cool project.

neeru1207 commented 4 years ago

Dude the back and next buttons are bound to buttons. You can't merge the functions

jaykaron commented 4 years ago

Sorry, I think I worded the commit badly. Both next and back do still exist, I just modified them so they are just wrappers over another function called _change_stage which takes the direction as an input.