Skip to content

Commit

Permalink
Removing x as it is unnecessary in the value
Browse files Browse the repository at this point in the history
  • Loading branch information
amolpati30 committed Feb 25, 2025
1 parent b6a44f9 commit 9dbfe7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgetastic/widget/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ def __get__(self, o, t):
ref_o = nested_getattr(o, self.reference)
if isinstance(ref_o, Widget):
ref_value = ref_o.read()
ref_value = ref_value.split(" ")[1] if ref_value.startswith('×') else ref_value
else:
ref_value = ref_o
condition_arg_cache[self.reference] = ref_value
Expand Down

0 comments on commit 9dbfe7e

Please sign in to comment.