aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--screenplain/richstring.py2
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))