kopia lustrzana https://github.com/bugout-dev/moonworm
fixed output message
rodzic
f0656f3032
commit
edaae6e65f
|
@ -15,9 +15,9 @@ try:
|
|||
)
|
||||
except ImportError:
|
||||
print("this feature requires moonstreamdb which is not installed")
|
||||
print("to enable, run: `pip install -e[moonstream]`")
|
||||
print("to enable, run: `pip install moonworm[moonstream]`")
|
||||
raise ImportError(
|
||||
"moonstreamdb not installed, to install, run: `pip install -e[moonstream]`"
|
||||
"moonstreamdb not installed, to install, run: `pip install moonworm[moonstream]`"
|
||||
)
|
||||
|
||||
from sqlalchemy.orm import Session
|
||||
|
|
|
@ -15,11 +15,12 @@ try:
|
|||
)
|
||||
except ImportError:
|
||||
print("this feature requires moonstreamdb which is not installed")
|
||||
print("to enable, run: `pip install -e[moonstream]`")
|
||||
print("to enable, run: `pip install moonworm[moonstream]`")
|
||||
raise ImportError(
|
||||
"moonstreamdb not installed, to install, run: `pip install -e[moonstream]`"
|
||||
"moonstreamdb not installed, to install, run: `pip install moonworm[moonstream]`"
|
||||
)
|
||||
|
||||
|
||||
from .utils import Network
|
||||
|
||||
MODELS: Dict[Network, Dict[str, Base]] = {
|
||||
|
|
|
@ -21,7 +21,7 @@ from web3.middleware import geth_poa_middleware
|
|||
from moonworm.crawler.moonstream_ethereum_state_provider import (
|
||||
MoonstreamEthereumStateProvider,
|
||||
)
|
||||
from moonworm.crawler.networks import Network
|
||||
from moonworm.crawler.utils import Network
|
||||
|
||||
from .contracts import CU, ERC721
|
||||
from .crawler.ethereum_state_provider import EthereumStateProvider
|
||||
|
|
Ładowanie…
Reference in New Issue