Browse Source

Treelib fix

export_seznamu_prednasek
Pavel 'LEdoian' Turinsky 5 years ago
parent
commit
2888975eab
  1. 2
      seminar/treelib.py

2
seminar/treelib.py

@ -19,6 +19,8 @@ def safe_pred(node):
return None
def first_brother(node):
if node is None:
return None
brother = node
while safe_pred(brother) is not None:
brother = safe_pred(brother)

Loading…
Cancel
Save