Skip to content

Commit

Permalink
PYLint error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayasimha Raghavan authored and Jayasimha Raghavan committed Sep 15, 2023
1 parent cb8e6dd commit 4849573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unskript-ctl/unskript-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def create_jit_runbook(check_list: list):
# So we surgically eliminate these keys from the NB dictionary.
unknown_attrs = ['description', 'uuid', 'name', 'type', 'inputschema', 'version', 'orderProperties', 'tags', 'language']
for cell in nb.get('cells'):
if cell.get('cell_type') is "code":
if cell.get('cell_type') == "code":
# This check is needed because the ID value is by default saved
# as integer in our code-snippets to enable drag-and-drop
cell['id'] = str(cell.get('id'))
Expand Down

0 comments on commit 4849573

Please sign in to comment.