diff --git a/vitables/vttables/leaf_model.py b/vitables/vttables/leaf_model.py index 721a2057..d73bd509 100644 --- a/vitables/vttables/leaf_model.py +++ b/vitables/vttables/leaf_model.py @@ -123,8 +123,8 @@ def __init__(self, leaf, parent=None): self.formatContent = vitables.utils.formatObjectContent elif atom_type in ('vlstring', 'vlunicode'): self.formatContent = vitables.utils.formatStringContent - else: - self.formatContent = vitables.utils.formatStringContent + else: + self.formatContent = vitables.utils.formatStringContent # Track selected cell self.selected_cell = {'index': QtCore.QModelIndex(), 'buffer_start': 0}