diff options
Diffstat (limited to 'src/model/difficulty.py')
-rw-r--r-- | src/model/difficulty.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/model/difficulty.py b/src/model/difficulty.py index cbabd1e..e38f19b 100644 --- a/src/model/difficulty.py +++ b/src/model/difficulty.py @@ -13,18 +13,18 @@ values = [ def format(difficulty: Difficulty) -> str: if difficulty == Difficulty.EASY: - return 'Easy' + return "Easy" elif difficulty == Difficulty.NORMAL: - return 'Normal' + return "Normal" elif difficulty == Difficulty.HARD: - return 'Hard' + return "Hard" def parse(string: str) -> Optional[Difficulty]: - if string == 'Easy': + if string == "Easy": return Difficulty.EASY - elif string == 'Normal': + elif string == "Normal": return Difficulty.MIDDLE - elif string == 'Hard': + elif string == "Hard": return Difficulty.HARD else: return None |