Skip to content

Commit

Permalink
truth value of a DataFrame is ambiguous (#1558)
Browse files Browse the repository at this point in the history
* truth value of a DataFrame is ambiguous

* truth value of a DataFrame is ambiguous

* truth value of a DataFrame is ambiguous

---------

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
  • Loading branch information
FredLL-Avaiga and Fred Lefévère-Laoide committed Jul 19, 2024
1 parent 20adfc4 commit d754750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taipy/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def __send_var_list_update( # noqa C901
if isinstance(newvalue, float) and math.isnan(newvalue):
# do not let NaN go through json, it is not handle well (dies silently through websocket)
newvalue = None
if newvalue:
if newvalue is not None and not isinstance(newvalue, str):
debug_warnings: t.List[warnings.WarningMessage] = []
with warnings.catch_warnings(record=True) as warns:
warnings.resetwarnings()
Expand Down

0 comments on commit d754750

Please sign in to comment.