Skip to content

Commit

Permalink
Remove JS this from python
Browse files Browse the repository at this point in the history
  • Loading branch information
jdfreder committed Jul 11, 2015
1 parent 9229450 commit 6ce8d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipywidgets/widgets/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def open(self):
"""Open a comm to the frontend if one isn't already open."""
if self.comm is None:
args = dict(target_name='ipython.widget',
data=this.get_state())
data=self.get_state())
if self._model_id is not None:
args['comm_id'] = self._model_id
self.comm = Comm(**args)
Expand Down

0 comments on commit 6ce8d6f

Please sign in to comment.