7yl4r / LifeGenes

:jeans: genetic inheritance + Conway's Game of Life.
12 stars 1 forks source link

genetic_sampler exception if file already exists #22

Closed BrianErikson closed 10 years ago

BrianErikson commented 10 years ago

genetic_sampler crashes to stack trace if you save a cell sample that already exists and then cancelling the tkinter window.

BrianErikson commented 10 years ago

Had cellPallete return a boolean depending on if the save was successful or not, which genetic_sampler uses to determine whether to quit the tkinter frame or not. If the save is not successful, the user is notified through the Golly text ribbon.

7yl4r commented 10 years ago

Sounds like a good way to do it. Awesome. =)