forked from LBRYCommunity/lbry-sdk
rename platform to system_info
This commit is contained in:
parent
4f3b5cd802
commit
fec917b9c1
3 changed files with 4 additions and 3 deletions
|
@ -3,7 +3,7 @@ from lbrynet.core import looping_call_manager
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from twisted.internet import task
|
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
|
from lbrynet.conf import settings
|
||||||
|
|
||||||
import constants
|
import constants
|
||||||
|
|
|
@ -39,7 +39,8 @@ from lbrynet.lbrynet_daemon.Downloader import GetStream
|
||||||
from lbrynet.lbrynet_daemon.Publisher import Publisher
|
from lbrynet.lbrynet_daemon.Publisher import Publisher
|
||||||
from lbrynet.lbrynet_daemon.ExchangeRateManager import ExchangeRateManager
|
from lbrynet.lbrynet_daemon.ExchangeRateManager import ExchangeRateManager
|
||||||
from lbrynet.lbrynet_daemon.auth.server import AuthJSONRPCServer
|
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 StreamDescriptorIdentifier, download_sd_blob
|
||||||
from lbrynet.core.StreamDescriptor import BlobStreamDescriptorReader
|
from lbrynet.core.StreamDescriptor import BlobStreamDescriptorReader
|
||||||
from lbrynet.core.Session import Session
|
from lbrynet.core.Session import Session
|
||||||
|
@ -354,7 +355,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
|
|
||||||
def _get_platform(self):
|
def _get_platform(self):
|
||||||
if self.platform is None:
|
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
|
self.platform["ui_version"] = self.lbry_ui_manager.loaded_git_version
|
||||||
return self.platform
|
return self.platform
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue