forked from LBRYCommunity/lbry-sdk
fix integration tests
This commit is contained in:
parent
1ae1137005
commit
48533df523
1 changed files with 4 additions and 3 deletions
|
@ -464,9 +464,6 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
os.makedirs(self.conf.download_dir)
|
||||
|
||||
async def start(self):
|
||||
self.ensure_data_dir()
|
||||
self.ensure_wallet_dir()
|
||||
self.ensure_download_dir()
|
||||
try:
|
||||
self.server = await asyncio.get_event_loop().create_server(
|
||||
self.handler, self.conf.api_host, self.conf.api_port
|
||||
|
@ -487,6 +484,10 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
log.info("Starting lbrynet-daemon")
|
||||
log.info("Platform: %s", json.dumps(system_info.get_platform()))
|
||||
|
||||
self.ensure_data_dir()
|
||||
self.ensure_wallet_dir()
|
||||
self.ensure_download_dir()
|
||||
|
||||
if not self.analytics_manager.is_started:
|
||||
self.analytics_manager.start()
|
||||
await self.analytics_manager.send_server_startup()
|
||||
|
|
Loading…
Reference in a new issue