mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2025-01-09 17:33:47 +00:00
fixed emulated.nac import
This commit is contained in:
parent
49f472a8f8
commit
967b8ec607
1 changed files with 2 additions and 2 deletions
|
@ -115,9 +115,9 @@ class IDSUser:
|
|||
self.restore_identity(id_keypair)
|
||||
else:
|
||||
logging.info("Registering new identity...")
|
||||
import emulated.nac
|
||||
import pypush.emulated.nac
|
||||
|
||||
vd = emulated.nac.generate_validation_data()
|
||||
vd = pypush.emulated.nac.generate_validation_data()
|
||||
vd = b64encode(vd).decode()
|
||||
|
||||
self.register(vd)
|
||||
|
|
Loading…
Reference in a new issue