Skip to content

Commit

Permalink
Small simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Nov 17, 2020
1 parent e1c62f8 commit 584fbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/io/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _update_query(self, *events, query=None):
continue
owner = e.cls if e.obj is None else e.obj
try:
val = owner.param[e.name].serialize(getattr(owner, e.name))
val = owner.param[e.name].serialize(e.new)
except Exception:
val = e.new
if not isinstance(val, str):
Expand Down

0 comments on commit 584fbe3

Please sign in to comment.