summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/init.py')
-rwxr-xr-xalot/init.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/init.py b/alot/init.py
index 92dde11c..5ce1d586 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -49,6 +49,7 @@ class ComposeOptions(SubcommandOptions):
class SearchOptions(SubcommandOptions):
accepted = ['oldest_first', 'newest_first', 'message_id', 'unsorted']
+
def colourint(val):
if val not in accepted:
raise ValueError("Unknown sort order")