aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2023-11-29 09:17:03 +0100
committerMartin Vilcans <martin@librador.com>2023-11-29 09:17:03 +0100
commit5123baa72a4ed4404ca15f6fe80f2930d88304be (patch)
tree6487da2ccea94d17f3b994f361ebb980e61fb835
parent41ac809564dc3a885baacbb5cd5cb513e4caac78 (diff)
downloadscreenplain-5123baa72a4ed4404ca15f6fe80f2930d88304be.tar.gz
Typo caused reading from stdin to fail
-rw-r--r--screenplain/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenplain/main.py b/screenplain/main.py
index 18d7863..333eb5a 100644
--- a/screenplain/main.py
+++ b/screenplain/main.py
@@ -115,7 +115,7 @@ def main(args):
encoding=options.encoding,
errors=options.encoding_errors)
else:
- input = codecs.getreader(options.envoding)(sys.stdin.buffer)
+ input = codecs.getreader(options.encoding)(sys.stdin.buffer)
input.errors = options.encoding_errors
screenplay = fountain.parse(input)