tyest
This commit is contained in:
parent
ff0875ac1b
commit
d1818f962b
@ -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 = {}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user