Skip to content

Commit

Permalink
Fix import for telegram notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
coskundeniz committed Oct 7, 2024
1 parent 59e59da commit 29df1ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ad_clicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from logger import logger, update_log_formats
from proxy import get_proxies
from search_controller import SearchController
from telegram_notifier import notify_matching_ads, start_bot
from utils import (
create_webdriver,
get_random_user_agent_string,
Expand All @@ -22,6 +21,9 @@
generate_click_report,
)

if config.behavior.telegram_enabled:
from telegram_notifier import notify_matching_ads, start_bot


__author__ = "Coşkun Deniz <[email protected]>"

Expand Down

0 comments on commit 29df1ce

Please sign in to comment.