diff --git a/ansitable/table.py b/ansitable/table.py index ad7ecb2..794241d 100644 --- a/ansitable/table.py +++ b/ansitable/table.py @@ -1376,19 +1376,19 @@ def Pandas(df, **kwargs): def _FG(self, c): if _unicode and self.color and c is not None: - return fore(c) + return fg(c) else: return "" def _BG(self, c): if _unicode and self.color and c is not None: - return back(c) + return bg(c) else: return "" def _ATTR(self, c): if _unicode and self.color and c is not None: - return style(c) + return attr(c) else: return ""