diff --git a/tdarr_inform.py b/tdarr_inform.py index 4169ed1..4107638 100644 --- a/tdarr_inform.py +++ b/tdarr_inform.py @@ -39,9 +39,11 @@ from sys import argv def main(): SCRIPT_PATH = os.path.realpath(__file__) SCRIPT_DIR = os.path.dirname(SCRIPT_PATH) + log_file = os.path.join(SCRIPT_DIR, "testlog.log") # ENV_FILE = f"{SCRIPT_DIR}\\ARR_ENV.txt" + logwrite = open(log_file, 'a', 0) - print("argv %s" % argv) + logwrite.write("argv %s" % argv) # envs = {}