Fix issue formatting
This commit is contained in:
parent
b22f802e3b
commit
50753e2fbc
1 changed files with 4 additions and 3 deletions
7
app.py
7
app.py
|
@ -80,10 +80,11 @@ def overseerr_api():
|
|||
|
||||
if len(providers) > 0:
|
||||
overseerr.update_request_status(int(media_request["request_id"]), "decline")
|
||||
print(f"Request declined, \"{data['subject']}\" is available for streaming on the following providers:")
|
||||
msg = f"Request declined, \"{data['subject']}\" is available for streaming on the following providers:\n"
|
||||
for provider in providers.values():
|
||||
print(f"\t{provider}")
|
||||
overseerr.create_issue(f"Request for \"{data['subject']}\" declined", show_id)
|
||||
msg += f"\t{provider}\n"
|
||||
print(msg)
|
||||
overseerr.create_issue(msg, show_id)
|
||||
else:
|
||||
print(f"Request for \"{data['subject']}\" approved.")
|
||||
overseerr.update_request_status(int(media_request["request_id"]), "approve")
|
||||
|
|
Loading…
Reference in a new issue