Skip to content

Commit

Permalink
fix: comma in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Apr 13, 2023
1 parent 38a6027 commit 5d4ccfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dxsp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from web3 import Web3
from pycoingecko import CoinGeckoAPI

from dxsp.assets.blockchains import blockchains
from assets.blockchains import blockchains



Expand All @@ -29,10 +29,10 @@ def __init__(self,
amount_trading_option: int = 1,
):
logging.getLogger(__name__).addHandler(logging.NullHandler())
logging.debug(msg=f"DexSwap initiated for chain_id" {chain_id})
logging.debug(msg=f"DexSwap initiated for chain_id {chain_id}")
self.chain_id = int(chain_id)
blockchain = blockchains[self.chain_id ]
logging.debug(msg=f"blockchain details" {blockchain})
logging.debug(msg=f"blockchain details {blockchain}")

self.wallet_address = wallet_address
self.private_key = private_key
Expand Down
2 changes: 1 addition & 1 deletion examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# base_trading_symbol = os.getenv("BASE_TRADE_SYMBOL", 'USDT')
# amount_trading_option = os.getenv("AMOUNT_TRADING_OPTION", 1)

from dxsp import DexSwap
from dxsp.main import DexSwap



Expand Down

0 comments on commit 5d4ccfa

Please sign in to comment.