fixed copyparty users
This commit is contained in:
@@ -65,7 +65,7 @@ def dayuploads_get(url: str):
|
||||
def uploadfile(file_name: str):
|
||||
with open(file_name, "rb") as torrent_file:
|
||||
response = requests.put(f"https://upload.fieryeagle.org/torfiles/{file_name}",
|
||||
torrent_file, auth=("admin",copyparty_token))
|
||||
torrent_file, auth=("torbot",copyparty_token))
|
||||
try:
|
||||
assert response.status_code in range(200, 300)
|
||||
except AssertionError:
|
||||
|
||||
Reference in New Issue
Block a user