diff --git a/src/tasks/top_attacking_ips.py b/src/tasks/top_attacking_ips.py index 6e3ecd7..d44420e 100644 --- a/src/tasks/top_attacking_ips.py +++ b/src/tasks/top_attacking_ips.py @@ -22,7 +22,7 @@ TASK_CONFIG = { "run_when_loaded": True, } -EXPORTS_DIR = "exports" +EXPORTS_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), "exports") OUTPUT_FILE = os.path.join(EXPORTS_DIR, "malicious_ips.txt")