Check for non-None paths

pull/24/head
tuxxy 2017-09-05 18:51:54 -06:00
parent 4689c477d2
commit dc1f26fa65
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class Client(object):
:return: Decrypted key
:rtype: bytes
"""
if path:
if path is not None:
priv_key = self._derive_path_key(path, is_pub=False)
else:
priv_key = self._priv_key