Skip to content

Commit

Permalink
omit downloads fix success code
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris McKeever committed Dec 31, 2022
1 parent d7af8db commit 73a837d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def login(self):
r = requests.post("https://plex.tv/users/sign_in.json",
headers=self.headers, data=payload)

if r.status_code != 200:
if r.status_code != 201:
print(r.json()["error"])
quit(1)

Expand Down

0 comments on commit 73a837d

Please sign in to comment.