diff --git a/nord-checker.py b/nord-checker.py index cac80ca..e3220fe 100644 --- a/nord-checker.py +++ b/nord-checker.py @@ -11,8 +11,8 @@ from openvpn_manager import establish_vpn_connection, is_vpn_active, disconnect_ # Variables CREDENTIAL_FILE = "nord.creds" -OVPN_DIR = "/root/nordvpn/ovpn_configs/ovpn_tcp" -LOG_FILE = "/root/nordvpn/openvpn.log" +OVPN_DIR = "ovpn_configs/ovpn_tcp" +LOG_FILE = "openvpn.log" RESULT_FILE = "vpnlist.txt" # Check for debug flag @@ -27,7 +27,7 @@ def debug_print(message): # Open the log file in append mode if not in debug mode log_file = None # Define log_file in the global scope if not DEBUG_MODE: - log_file = open('/root/nordvpn/nord-checker.log', 'a') + log_file = open('nord-checker.log', 'a') # Redirect stdout and stderr to the log file sys.stdout = log_file sys.stderr = log_file