mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-16 00:12:48 +00:00
updates
This commit is contained in:
parent
177d9efb13
commit
0b9590feaa
@ -73,14 +73,9 @@ class CLI(Logger):
|
|||||||
if not name: name=input('name: ')
|
if not name: name=input('name: ')
|
||||||
if not name: return
|
if not name: return
|
||||||
|
|
||||||
from getpass import getpass
|
|
||||||
passphrase=None
|
|
||||||
if not passphrase: passphrase=getpass('password: ')
|
|
||||||
if not passphrase: return
|
|
||||||
|
|
||||||
if not self._komrade:
|
if not self._komrade:
|
||||||
self._komrade = Komrade(name if name else self.name)
|
self._komrade = Komrade(name if name else self.name)
|
||||||
print(self._komrade.login(passphrase=passphrase))
|
print(self._komrade.login())
|
||||||
self._name=self._komrade.name
|
self._name=self._komrade.name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user