test
This commit is contained in:
parent
43d5bc68ce
commit
d2617d13cc
@ -45,8 +45,6 @@ def main():
|
||||
|
||||
loggit("Preparing payload to POST to tdarr API\n" % sys.argv)
|
||||
|
||||
headers = {"content-type": "application/json"}
|
||||
|
||||
payload = {
|
||||
"data": {
|
||||
"scanConfig": {
|
||||
@ -58,7 +56,7 @@ def main():
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
headers = {"content-type": "application/json"}
|
||||
response = requests.post(tdarr_settings["url"], json=payload, headers=headers)
|
||||
loggit("Tdarr response: %s\n" % response)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user