diff options
author | Martin Vilcans <martin@librador.com> | 2022-11-07 20:21:27 +0100 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2022-11-07 20:28:50 +0100 |
commit | a5e9a811489d60697eb886437103c333438fff78 (patch) | |
tree | ed0c3b90814b31724b26dc797eaddf0851499209 | |
parent | 26c3cdfa436bb5b5693b23fbe7f14df5228af2a2 (diff) | |
download | screenplain-a5e9a811489d60697eb886437103c333438fff78.tar.gz |
Parenthesis in if statement - blasphemy!
-rw-r--r-- | screenplain/richstring.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/screenplain/richstring.py b/screenplain/richstring.py index 3890ecd..8a11fec 100644 --- a/screenplain/richstring.py +++ b/screenplain/richstring.py @@ -292,7 +292,7 @@ def parse_emphasis(source): pos = 0 def append(pos, end): - if(pos == end): + if pos == end: return text = source[pos:end] segments.append(Segment(text, styles)) |