fixed output in onionr.py, work on docs

This commit is contained in:
Kevin Froman 2019-06-27 13:45:28 -05:00
parent 44bcbac8ef
commit dce453db81
3 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,19 @@
# Onionr Documentation # Onionr Documentation
The Onionr [whitepaper](whitepaper.md) is the best place to start both for users and developers. The Onionr [whitepaper](whitepaper.md) is the best place to start both for users and developers.
## User Documentation
* [Installation](usage/install.md)
* [First steps](usage/firststeps.md)
* [Using Onionr Mail](usage/mail.md)
* [Using Onionr web pages](usage/pages.md)
* [Staying safe/anonymous](usage/safety.md)
## Developer Documentation
* [Development environment setup](dev/setup.md)
* [Technical overview](dev/overview.md)
* [Project layout](dev/layout.md)
* [Plugin development guide](dev/plugins.md)
* [Testing](dev/testing.md)

View File

@ -236,13 +236,13 @@ class Onionr:
def listPeers(self): def listPeers(self):
logger.info('Peer transport address list:') logger.info('Peer transport address list:')
for i in self.onionrCore.listAdders(): for i in self.onionrCore.listAdders():
logger.info(i) logger.info(i, terminal=True)
def getWebPassword(self): def getWebPassword(self):
return config.get('client.webpassword') return config.get('client.webpassword')
def printWebPassword(self): def printWebPassword(self):
logger.info(self.getWebPassword(), term_only = True) logger.info(self.getWebPassword(), terminal=True)
def getHelp(self): def getHelp(self):
return self.cmdhelp return self.cmdhelp