Skip to content

Commit

Permalink
Merge pull request #454 from AsadJivani/incorrect_layout_sorting_note…
Browse files Browse the repository at this point in the history
…book

Incorrect layout sorting in notebook
  • Loading branch information
mattrose authored Jun 22, 2021
2 parents f4a3c4e + c583efb commit 5206952
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 5206952

Please sign in to comment.