mirror of https://github.com/nucypher/nucypher.git
Set mode default in client.open to 'rb' for reading bytes
parent
5b4db3ac94
commit
c60bc89c86
|
@ -222,7 +222,7 @@ class Client(object):
|
||||||
cipher = self._symm(key)
|
cipher = self._symm(key)
|
||||||
return cipher.decrypt(edata)
|
return cipher.decrypt(edata)
|
||||||
|
|
||||||
def open(self, pubkey=None, path=None, mode='r', fd=None, algorithm=None):
|
def open(self, pubkey=None, path=None, mode='rb', fd=None, algorithm=None):
|
||||||
"""
|
"""
|
||||||
The main interface through which Python API will work.
|
The main interface through which Python API will work.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue