diff --git a/src/main/python/lbrynetservice.py b/src/main/python/lbrynetservice.py index d40940be..4509e9cb 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',