Skip to content

Commit

Permalink
Incorrect layout sorting in notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
AsadJivani committed Jun 22, 2021
1 parent f4a3c4e commit c583efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terminatorlib/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def configure(self):
def create_layout(self, layout):
"""Apply layout configuration"""
def child_compare(a, b):
order_a = children[a]['order']
order_b = children[b]['order']
order_a = int(children[a]['order'])
order_b = int(children[b]['order'])

if (order_a == order_b):
return 0
Expand Down

0 comments on commit c583efb

Please sign in to comment.