Fix pylint warning W3101

This commit is contained in:
2Shirt 2022-11-12 22:32:25 -08:00
parent 71bbf6ed57
commit 3922ed08a8
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -1096,9 +1096,10 @@ def upload_debug_report(report, compress=True, reason='DEBUG'):
url = f'{CRASH_SERVER["Url"]}/{filename}'
response = requests.put(
url,
auth=(CRASH_SERVER['User'], CRASH_SERVER.get('Pass', '')),
data=xz_report if compress else report,
headers=headers,
auth=(CRASH_SERVER['User'], CRASH_SERVER.get('Pass', '')),
timeout=60,
)
# Check response