aboutsummaryrefslogtreecommitdiff
path: root/doc/filters/confederationpaysanne.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/filters/confederationpaysanne.py')
-rwxr-xr-xdoc/filters/confederationpaysanne.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/filters/confederationpaysanne.py b/doc/filters/confederationpaysanne.py
index 6db001e..2025957 100755
--- a/doc/filters/confederationpaysanne.py
+++ b/doc/filters/confederationpaysanne.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai
"""
@@ -65,7 +65,7 @@ for opt in optlist:
print(__doc__)
sys.exit(0)
-html = sys.stdin.read()
+html = sys.stdin.buffer.read()
# Find entries
soup = BeautifulSoup(html, "lxml")