aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2022-11-07 20:21:27 +0100
committerMartin Vilcans <martin@librador.com>2022-11-07 20:28:50 +0100
commita5e9a811489d60697eb886437103c333438fff78 (patch)
treeed0c3b90814b31724b26dc797eaddf0851499209
parent26c3cdfa436bb5b5693b23fbe7f14df5228af2a2 (diff)
downloadscreenplain-a5e9a811489d60697eb886437103c333438fff78.tar.gz
Parenthesis in if statement - blasphemy!
-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))