summaryrefslogtreecommitdiffstats
path: root/cli_helpers/tabular_output/tabulate_adapter.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli_helpers/tabular_output/tabulate_adapter.py')
-rw-r--r--cli_helpers/tabular_output/tabulate_adapter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli_helpers/tabular_output/tabulate_adapter.py b/cli_helpers/tabular_output/tabulate_adapter.py
index 92e6f1d..a7eabc0 100644
--- a/cli_helpers/tabular_output/tabulate_adapter.py
+++ b/cli_helpers/tabular_output/tabulate_adapter.py
@@ -4,7 +4,7 @@
from __future__ import unicode_literals
from cli_helpers.utils import filter_dict_by_key
-from cli_helpers.compat import Terminal256Formatter, StringIO
+from cli_helpers.compat import Terminal256Formatter, Token, StringIO
from .preprocessors import (
convert_to_string,
truncate_string,
@@ -105,8 +105,8 @@ def style_output_table(format_name=""):
data,
headers,
style=None,
- table_separator_token="Token.Output.TableSeparator",
- **_
+ table_separator_token=Token.Output.TableSeparator,
+ **_,
):
"""Style the *table* a(e.g. bold, italic, and colors)