Skip to content

Commit

Permalink
chore(Logs): Added notifier for headless run at the start of the script
Browse files Browse the repository at this point in the history
  • Loading branch information
Vel-San committed Feb 22, 2024
1 parent 3d00cd0 commit f2b2f52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wbmbot_v2/helpers/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

# Bot version (MAJOR.MINOR.PATCH)
bot_version = "1.0.0"
bot_version = "1.0.1"

# Today
today = dt.date.today()
Expand Down
6 changes: 5 additions & 1 deletion wbmbot_v2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ def parse_args():
LOG = color_me.create_logger()

# Create ChromeDriver
LOG.info(color_me.cyan(f"Initializing Script (v{constants.bot_version}) 🚀"))
LOG.info(
color_me.cyan(
f"Initializing Script (v{constants.bot_version}) (Headless? {args.args.headless}) 🚀"
)
)
LOG.info(color_me.cyan("Checking for internet connection 🔎"))
while True:
if not misc_operations.check_internet_connection():
Expand Down

0 comments on commit f2b2f52

Please sign in to comment.