rename platform to system_info

This commit is contained in:
Job Evers-Meltzer 2016-12-10 12:01:29 -08:00
parent 4f3b5cd802
commit fec917b9c1
3 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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