changed import syntax

This commit is contained in:
Steven Burnham 2023-12-07 21:56:54 -05:00
parent 967b8ec607
commit eee086683b
No known key found for this signature in database
GPG key ID: D765679712A2FC3D

View file

@ -115,9 +115,9 @@ class IDSUser:
self.restore_identity(id_keypair)
else:
logging.info("Registering new identity...")
import pypush.emulated.nac
from pypush.emulated import nac
vd = pypush.emulated.nac.generate_validation_data()
vd = nac.generate_validation_data()
vd = b64encode(vd).decode()
self.register(vd)