toonarmycaptain/dionysus

Inescapable loop choosing class when no classes exist.

Aperta

#292 aperta il 7 mag 2020

 (0 commenti) (0 reazioni) (0 assegnatari)Python (14 fork)auto 404
buggood first issue

Metriche repository

Star
 (10 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Currently, one may try to create a new chart before creating any classes, and the menu prompts the user to select a class, and no input will escape the loop (since there are no classes). A guard should be here, prompting the user to create a new class, or/and a way to go back/cancel. O just print an error message, suggest first creating a class, and return user to main menu.

Guida contributor