diff --git a/lbrynet/extras/daemon/DaemonConsole.py b/lbrynet/extras/daemon/DaemonConsole.py index 3ef636b16..169ae88a2 100644 --- a/lbrynet/extras/daemon/DaemonConsole.py +++ b/lbrynet/extras/daemon/DaemonConsole.py @@ -6,7 +6,7 @@ import logging.handlers from twisted.internet import defer, reactor, threads from aiohttp import client_exceptions -from lbrynet import analytics +from lbrynet.extras.daemon import analytics from lbrynet import conf from lbrynet.p2p import utils from lbrynet.p2p import log_support diff --git a/lbrynet/extras/daemon/auth/server.py b/lbrynet/extras/daemon/auth/server.py index ea2b277d3..87bf236bc 100644 --- a/lbrynet/extras/daemon/auth/server.py +++ b/lbrynet/extras/daemon/auth/server.py @@ -14,7 +14,8 @@ from twisted.internet.error import ConnectionDone, ConnectionLost from txjsonrpc import jsonrpclib from traceback import format_exc -from lbrynet import conf, analytics +from lbrynet import conf +from lbrynet.extras.daemon import analytics from lbrynet.p2p.Error import InvalidAuthenticationToken from lbrynet.p2p import utils from lbrynet.p2p.Error import ComponentsNotStarted, ComponentStartConditionNotMet diff --git a/lbrynet/p2p/server/BlobRequestHandler.py b/lbrynet/p2p/server/BlobRequestHandler.py index 128024400..d584c548a 100644 --- a/lbrynet/p2p/server/BlobRequestHandler.py +++ b/lbrynet/p2p/server/BlobRequestHandler.py @@ -4,7 +4,7 @@ from twisted.internet import defer from twisted.protocols.basic import FileSender from twisted.python.failure import Failure -from lbrynet import analytics +from lbrynet.extras.daemon import analytics from lbrynet.p2p.Offer import Offer log = logging.getLogger(__name__) diff --git a/tests/unit/analytics/test_track.py b/tests/unit/analytics/test_track.py index e922eae7f..ee3c13fd1 100644 --- a/tests/unit/analytics/test_track.py +++ b/tests/unit/analytics/test_track.py @@ -1,4 +1,4 @@ -from lbrynet import analytics +from lbrynet.extras.daemon import analytics from twisted.trial import unittest