diff options
Diffstat (limited to 'screenplain/parsers/spmd.py')
-rw-r--r-- | screenplain/parsers/spmd.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/screenplain/parsers/spmd.py b/screenplain/parsers/spmd.py index 76a5028..6348d75 100644 --- a/screenplain/parsers/spmd.py +++ b/screenplain/parsers/spmd.py @@ -21,6 +21,7 @@ TWOSPACE = ' ' * 2 centered_re = re.compile(r'\s*>\s*(.*)\s*<\s*$') + def is_blank(string): return string == '' or string.isspace() and string != ' ' |