diff options
author | Joris | 2020-05-31 17:47:13 +0200 |
---|---|---|
committer | Joris | 2020-05-31 17:47:14 +0200 |
commit | 74fd6f47b3683bd727a33f3312582485fa062b95 (patch) | |
tree | 87d4a3045e5585dde9e75cf957e755f47de61775 /src/model/priority.py | |
parent | 1bed85a9b107d1b03e71b848829cb7b1f33060f4 (diff) |
Use double quotes instead of simple quotes
Follow advice from:
https://stackoverflow.com/questions/56011/single-quotes-vs-double-quotes-in-python
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 |