Skip to content

Commit

Permalink
Fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 7, 2021
1 parent 789f253 commit e8d253b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/io/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def add_periodic_callback(self, callback, period=500, count=None,
if start:
if self._thread_id is not None:
thread = threading.current_thread()
thread_id = thread.ident if thread else Non
thread_id = thread.ident if thread else None
if self._thread_id != thread_id:
self.curdoc.add_next_tick_callback(cb.start)
return cb
Expand Down

0 comments on commit e8d253b

Please sign in to comment.