Commit b0ccf7e6 authored by Lucas Carvalho's avatar Lucas Carvalho

Fixed wrong condition.

parent 248a8e24
...@@ -198,7 +198,7 @@ class NetworkcacheClient(object): ...@@ -198,7 +198,7 @@ class NetworkcacheClient(object):
""" """
Return the signature based on certification file. Return the signature based on certification file.
""" """
if self.signature_private_key_file: if not self.signature_private_key_file:
return '' return ''
SignEVP = M2Crypto.EVP.load_key(self.signature_private_key_file) SignEVP = M2Crypto.EVP.load_key(self.signature_private_key_file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment