Skip to content

Commit

Permalink
Fix print in multiple_coins_strategy.py
Browse files Browse the repository at this point in the history
Scouting message had a possibility for None-type exception
  • Loading branch information
idkravitz authored and edeng23 committed Jun 8, 2021
1 parent 9a628f0 commit d2fc189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binance_trade_bot/strategies/multiple_coins_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def scout(self):
# has stopped. Not logging though to reduce log size.
print(
f"{datetime.now()} - CONSOLE - INFO - I am scouting the best trades. "
f"Current coin: {current_coin + self.config.BRIDGE} ",
f"Current coin: {coin + self.config.BRIDGE} ",
end="\r",
)

Expand Down

0 comments on commit d2fc189

Please sign in to comment.