Skip to content

Commit 73a837d

Browse files
author
Chris McKeever
committed
omit downloads fix success code
1 parent d7af8db commit 73a837d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*/

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def login(self):
4141
r = requests.post("https://plex.tv/users/sign_in.json",
4242
headers=self.headers, data=payload)
4343

44-
if r.status_code != 200:
44+
if r.status_code != 201:
4545
print(r.json()["error"])
4646
quit(1)
4747

0 commit comments

Comments
 (0)