Skip to content

Commit

Permalink
Fix unexpected stdout redirection
Browse files Browse the repository at this point in the history
Remove a line that replaces sys.stdout with sys.stderr, which causes
unexpected side-effects to the program.
  • Loading branch information
apyrgio committed Feb 6, 2024
1 parent 04b51f9 commit 70b069b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2389,7 +2389,6 @@ def set_word_spacing(self, spacing):

def span_bottom(self):
"""Find deepest level in stacked spans."""
sys.stdout = sys.stderr
parent = self
child = self.last_child
if child is None:
Expand Down

0 comments on commit 70b069b

Please sign in to comment.