This commit is contained in:
deathbybandaid 2023-01-06 10:36:33 -05:00
parent 736a968b63
commit 735fab68fc

View File

@ -1,7 +1,7 @@
#!/usr/bin/python3 #!/usr/bin/python3
# import os import os
from sys import argv # from sys import argv
# title = show title # title = show title
@ -15,11 +15,10 @@ from sys import argv
# response = requests.post(tdarr_url, json=payload, headers=headers) # response = requests.post(tdarr_url, json=payload, headers=headers)
fp = open('/opt/testlog.log', 'a', 0) # fp = open('/opt/testlog.log', 'a', 0)
fp.write("Testing") # fp.write("Testing")
fp.write("%s" % argv) # fp.write("%s" % 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)
@ -49,4 +48,3 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()
"""