fix config setup not returning bool for existing data directory

This commit is contained in:
Kevin Froman 2019-05-12 09:21:17 -05:00
parent d4191b2cb5
commit 4fcf3d69cd
4 changed files with 22 additions and 3 deletions

View File

@ -1,5 +1,5 @@
''' '''
Onionr - P2P Microblogging Platform & Social network Onionr - P2P Anonymous Storage Network
Handle daemon queue commands in the communicator Handle daemon queue commands in the communicator
''' '''

View File

@ -1,5 +1,5 @@
''' '''
Onionr - P2P Microblogging Platform & Social network Onionr - P2P Anonymous Storage Network
Lookup new peer transport addresses using the communicator Lookup new peer transport addresses using the communicator
''' '''

View File

@ -150,7 +150,7 @@ class Onionr:
self.killed = True self.killed = True
def setupConfig(dataDir, self = None): def setupConfig(dataDir, self = None):
setupconfig.setup_config(dataDir, self) return setupconfig.setup_config(dataDir, self)
def cmdHeader(self): def cmdHeader(self):
if len(sys.argv) >= 3: if len(sys.argv) >= 3:

View File

@ -1,3 +1,22 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr services provide the server component to direct connections
'''
'''
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
'''
import time import time
import stem import stem
import core import core