File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2020
2121def scan ():
2222 # Load configuration first
23- cfg = load_simple_yaml ("config/join-config.yml" )
23+ config_path = Path (__file__ ).parent .parent / "config" / "join-config.yml"
24+ cfg = load_simple_yaml (str (config_path ))
2425
2526 # Get token from environment variable
2627 token = os .environ .get ("GH_TOKEN" , "" ).strip ()
Original file line number Diff line number Diff line change @@ -214,7 +214,8 @@ def check():
214214 Main function to check tasks and send reminders based on configuration.
215215 """
216216 # Load configuration
217- cfg = load_simple_yaml ("config/task-checker.yml" )
217+ config_path = Path (__file__ ).parent .parent / "config" / "task-checker.yml"
218+ cfg = load_simple_yaml (str (config_path ))
218219
219220 # Get token from environment variable
220221 token = os .environ .get ("GH_TOKEN" , "" ).strip ()
You can’t perform that action at this time.
0 commit comments