Undefined name: pe --> pw (#355)

$ `flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics`
```
./slam-mirrorbot/bot/helper/mirror_utils/download_utils/direct_link_generator.py:351:39: F821 undefined name 'pe'
        req = requests.post(url, data=pe)
                                      ^
1     F821 undefined name 'pe'
1
```
This commit is contained in:
Christian Clauss 2021-08-22 15:36:11 +02:00 committed by GitHub
parent 41da301885
commit a6566236cc
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -348,7 +348,7 @@ def fichier(link: str) -> str:
req = requests.post(url)
else:
pw = {"pass": pswd}
req = requests.post(url, data=pe)
req = requests.post(url, data=pw)
except:
raise DirectDownloadLinkException("ERROR: Unable to reach 1fichier server!")
if req.status_code == 404: