From 6e005cf0427acec42febddd71df587a6b04b7fc7 Mon Sep 17 00:00:00 2001 From: Harsha Raghu Date: Sat, 15 Jan 2022 16:02:52 +0530 Subject: [PATCH] [Data-Interface] Allow single column selection --- bot/data/formatters.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/data/formatters.py b/bot/data/formatters.py index 4bdccbc3..1509ed08 100644 --- a/bot/data/formatters.py +++ b/bot/data/formatters.py @@ -69,6 +69,8 @@ def _format_selectkeys(keys): """ if not keys: return "*" + elif type(keys) is str: + return keys else: return ", ".join(keys)