mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-23 19:32:29 -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)
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue