Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2373b commit 25107deCopy full SHA for 25107de
1 file changed
Lib/base64.py
@@ -3,7 +3,7 @@
3
# Conversions to/from base64 transport encoding as per RFC-MIME (Dec 1991
4
# version).
5
6
-# Parameters set by RFX-XXXX.
+# Parameters set by RFX-1421.
7
#
8
# Modified 04-Oct-95 by Jack to use binascii module
9
@@ -66,7 +66,7 @@ def test():
66
if o == '-u': func = decode
67
if o == '-t': test1(); return
68
if args and args[0] != '-':
69
- func(open(args[0]), sys.stdout)
+ func(open(args[0], 'rb'), sys.stdout)
70
else:
71
func(sys.stdin, sys.stdout)
72
0 commit comments