Fix pylint warning W3101
This commit is contained in:
parent
71bbf6ed57
commit
3922ed08a8
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue