diff --git a/lbrynet/p2p/Error.py b/lbrynet/error.py similarity index 99% rename from lbrynet/p2p/Error.py rename to lbrynet/error.py index 271631fde..33e36aaef 100644 --- a/lbrynet/p2p/Error.py +++ b/lbrynet/error.py @@ -10,7 +10,7 @@ class DuplicateStreamHashError(Exception): pass -class DownloadCanceledError(Exception): +class DownloadCancelledError(Exception): pass diff --git a/lbrynet/extras/daemon/exchange_rate_manager.py b/lbrynet/extras/daemon/exchange_rate_manager.py index 0a6eac513..30121729a 100644 --- a/lbrynet/extras/daemon/exchange_rate_manager.py +++ b/lbrynet/extras/daemon/exchange_rate_manager.py @@ -4,7 +4,7 @@ import time import logging import json -from lbrynet.p2p.Error import InvalidExchangeRateResponse, CurrencyConversionError +from lbrynet.error import InvalidExchangeRateResponse, CurrencyConversionError log = logging.getLogger(__name__) diff --git a/lbrynet/extras/wallet/resolve.py b/lbrynet/extras/wallet/resolve.py index 2a74afcf1..1baadb265 100644 --- a/lbrynet/extras/wallet/resolve.py +++ b/lbrynet/extras/wallet/resolve.py @@ -3,7 +3,7 @@ import logging from ecdsa import BadSignatureError from binascii import unhexlify, hexlify from lbrynet.extras.wallet.dewies import dewies_to_lbc -from lbrynet.p2p.Error import UnknownNameError, UnknownClaimID, UnknownURI, UnknownOutpoint +from lbrynet.error import UnknownNameError, UnknownClaimID, UnknownURI, UnknownOutpoint from lbrynet.schema.address import is_address from lbrynet.schema.claim import ClaimDict from lbrynet.schema.decode import smart_decode