This commit is contained in:
deathbybandaid 2023-01-06 13:04:15 -05:00
parent 1cb49cae5a
commit 03af625cae

View File

@ -1,7 +1,7 @@
#!/usr/bin/python3
import os
# from sys import argv
import sys
"""
# title = show title
@ -52,6 +52,9 @@ def main():
envs["%s_eventtype" % arr_type] = os.environ["%s_eventtype" % arr_type]
logwrite.write("Recieved %s Event from %s\n" % (envs["%s_eventtype" % arr_type], arr_type.upper()))
if envs["%s_eventtype" % arr_type] == "Test":
sys.exit(0)
ENV_FILE = os.path.join(SCRIPT_DIR, "env_%s" % arr_type)
logwrite.write("%s\n" % ENV_FILE)