Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
fix logging when deceive is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
TriOCuBe committed Nov 17, 2023
1 parent 75ba8ac commit 46ab34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tft.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def main():
logger.info("===== TFT Bot Started =====")
logger.info(f"Bot will only display messages at severity level {log_level}.")
logger.info(f"Bot will {'' if config.forfeit_early() else 'NOT '}surrender early.")
logger.info(f"Bot will {'' if config.get_deceive_config() else 'NOT '}use Deceive" + f" with location: {config.get_install_location_deceive()}" if config.get_deceive_config() else "")
logger.info(f"Bot will {'' if config.get_deceive_config() else 'NOT '}use Deceive" + (f" with location: {config.get_install_location_deceive()}." if config.get_deceive_config() else "."))

absolute_storage_path = os.path.abspath(storage_path)
if not os.access(absolute_storage_path, os.W_OK):
Expand Down

0 comments on commit 46ab34d

Please sign in to comment.