diff --git a/lbrynet/analytics/manager.py b/lbrynet/analytics/manager.py index e6c9fbc15..ad899ba98 100644 --- a/lbrynet/analytics/manager.py +++ b/lbrynet/analytics/manager.py @@ -3,7 +3,7 @@ from lbrynet.core import looping_call_manager from twisted.internet import defer from twisted.internet import task -from lbrynet.core.Platform import get_platform +from lbrynet.core.system_info import get_platform from lbrynet.conf import settings import constants diff --git a/lbrynet/core/Platform.py b/lbrynet/core/system_info.py similarity index 100% rename from lbrynet/core/Platform.py rename to lbrynet/core/system_info.py diff --git a/lbrynet/lbrynet_daemon/Daemon.py b/lbrynet/lbrynet_daemon/Daemon.py index 30ddea1e7..d7139937b 100644 --- a/lbrynet/lbrynet_daemon/Daemon.py +++ b/lbrynet/lbrynet_daemon/Daemon.py @@ -39,7 +39,8 @@ from lbrynet.lbrynet_daemon.Downloader import GetStream from lbrynet.lbrynet_daemon.Publisher import Publisher from lbrynet.lbrynet_daemon.ExchangeRateManager import ExchangeRateManager from lbrynet.lbrynet_daemon.auth.server import AuthJSONRPCServer -from lbrynet.core import log_support, utils, Platform +from lbrynet.core import log_support, utils +from lbrynet.core import system_info from lbrynet.core.StreamDescriptor import StreamDescriptorIdentifier, download_sd_blob from lbrynet.core.StreamDescriptor import BlobStreamDescriptorReader from lbrynet.core.Session import Session @@ -354,7 +355,7 @@ class Daemon(AuthJSONRPCServer): def _get_platform(self): if self.platform is None: - self.platform = Platform.get_platform() + self.platform = system_info.get_platform() self.platform["ui_version"] = self.lbry_ui_manager.loaded_git_version return self.platform