From 4276a78a81566c291b3b8791df0193d4be34079c Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 16 Jan 2020 22:34:36 +0100 Subject: [PATCH] sdk 0.53.2 service updates --- src/main/python/lbrynetservice.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/python/lbrynetservice.py b/src/main/python/lbrynetservice.py index d40940b..4509e9c 100644 --- a/src/main/python/lbrynetservice.py +++ b/src/main/python/lbrynetservice.py @@ -4,13 +4,15 @@ import logging import pathlib import platform import sys +import lbry.wallet + from jnius import autoclass from keyring.backend import KeyringBackend from lbry import __version__ as lbrynet_version, build_type from lbry.conf import Config from lbry.extras.daemon.loggly_handler import get_loggly_handler -from lbry.extras.daemon.Components import DHT_COMPONENT, HASH_ANNOUNCER_COMPONENT, PEER_PROTOCOL_SERVER_COMPONENT -from lbry.extras.daemon.Daemon import Daemon +from lbry.extras.daemon.components import DHT_COMPONENT, HASH_ANNOUNCER_COMPONENT, PEER_PROTOCOL_SERVER_COMPONENT +from lbry.extras.daemon.daemon import Daemon from lbry.extras.daemon.loggly_handler import get_loggly_handler log = logging.getLogger(__name__) @@ -74,7 +76,7 @@ def start(): keyring.set_keyring(LbryAndroidKeyring()) private_storage_dir = lbrynet_android_utils.getAppInternalStorageDir(service.getApplicationContext()) configured_download_dir = lbrynet_android_utils.getConfiguredDownloadDirectory(service.getApplicationContext()) - print('configured_download_dir={}'.format(configured_download_dir)) + conf = Config( data_dir=f'{private_storage_dir}/lbrynet', wallet_dir=f'{private_storage_dir}/lbryum',