test
This commit is contained in:
parent
1cb49cae5a
commit
03af625cae
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user