tui-utilities 1.0.17__tar.gz → 1.0.19__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tui_utilities
3
- Version: 1.0.17
3
+ Version: 1.0.19
4
4
  Summary: Personal-use console utilities library
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tui_utilities"
3
- version = "1.0.17"
3
+ version = "1.0.19"
4
4
  description = "Personal-use console utilities library"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
@@ -75,7 +75,7 @@ def _style(
75
75
  )
76
76
  return Padding(paddable, final_padding)
77
77
 
78
- if is_renderable(object):
78
+ if is_renderable(object) and not isinstance(object, Text):
79
79
  aligned = apply_alignment(object)
80
80
  padded = apply_padding(aligned)
81
81
  return padded
@@ -126,7 +126,7 @@ def print(
126
126
  left_padding = left_padding,
127
127
  plain_text = plain_text
128
128
  ))
129
- elif is_renderable(object):
129
+ elif is_renderable(object) and not isinstance(object, Text):
130
130
  renderables.append(_style(
131
131
  object = object,
132
132
  alignment = alignment,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tui_utilities
3
- Version: 1.0.17
3
+ Version: 1.0.19
4
4
  Summary: Personal-use console utilities library
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  License: MIT
File without changes
File without changes