mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-24 03:42:43 -06:00
changed import syntax
This commit is contained in:
parent
967b8ec607
commit
eee086683b
1 changed files with 2 additions and 2 deletions
|
@ -115,9 +115,9 @@ class IDSUser:
|
||||||
self.restore_identity(id_keypair)
|
self.restore_identity(id_keypair)
|
||||||
else:
|
else:
|
||||||
logging.info("Registering new identity...")
|
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()
|
vd = b64encode(vd).decode()
|
||||||
|
|
||||||
self.register(vd)
|
self.register(vd)
|
||||||
|
|
Loading…
Reference in a new issue