diff options
Diffstat (limited to 'src/model/priority.py')
-rw-r--r-- | src/model/priority.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/model/priority.py b/src/model/priority.py index 76cfd62..5948104 100644 --- a/src/model/priority.py +++ b/src/model/priority.py @@ -13,18 +13,18 @@ values = [ def format(priority: Priority) -> str: if priority == Priority.LOW: - return 'Low' + return "Low" elif priority == Priority.MIDDLE: - return 'Middle' + return "Middle" elif priority == Priority.HIGH: - return 'High' + return "High" def parse(string: str) -> Optional[Priority]: - if string == 'Low': + if string == "Low": return Priority.LOW - elif string == 'Middle': + elif string == "Middle": return Priority.MIDDLE - elif string == 'High': + elif string == "High": return Priority.HIGH else: return None |