This commit is contained in:
deathbybandaid 2023-01-06 12:11:25 -05:00
parent ff0875ac1b
commit d1818f962b

View File

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