Skip to content

Commit

Permalink
Fix format_cell arguments
Browse files Browse the repository at this point in the history
Worked locally, but not from google colab ...
  • Loading branch information
hanfried committed Sep 30, 2019
1 parent c51ce68 commit c5fe2b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lab_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def __set_cell(self, unformatted_cell, cell, cell_id=None):
)
display(Javascript(js_code))

def format_cell(self, result):
def format_cell(self, *args, **kwargs):
try:
cell_id = len(self.shell.user_ns["In"]) - 1
if cell_id > 0:
Expand Down

0 comments on commit c5fe2b1

Please sign in to comment.