Skip to content

Commit

Permalink
#157 fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
driftregion authored and oroulet committed Mar 22, 2020
1 parent 309fbfb commit 870dc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncua/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def cert_to_string(der):
if not der:
return '[no certificate]'
try:
from ..crypto import uacrypto
from .crypto import uacrypto
except ImportError:
return "{0} bytes".format(len(der))
cert = uacrypto.x509_from_der(der)
Expand Down

0 comments on commit 870dc85

Please sign in to comment.