Skip to content

Commit

Permalink
do not merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mkasenberg committed Aug 14, 2024
1 parent 535ea90 commit 10dc814
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/cron/autopts_cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,10 @@ def sigint_handler(sig, frame):

args = CliParser().parse_args()

config_path = 'C:/Users/Piotr/auto-pts/autopts/bot/cron_config.py'

global cron_config
cron_config = copy.deepcopy(load_module_from_path(args.config_path))
cron_config = copy.deepcopy(load_module_from_path(config_path))

if not cron_config:
sys.exit(f'Could not load cron config from path {args.config_path}')
Expand Down

0 comments on commit 10dc814

Please sign in to comment.