added requirements.txt and fixed pep8

This commit is contained in:
Noretsa 2020-09-08 18:09:25 +03:00
parent b7cf9a6885
commit 153c5425c4
3 changed files with 24 additions and 7 deletions

View File

@ -64,7 +64,7 @@ def complete_task(session, headers, task, address):
for item in chain['questions']:
if len(data) == len(photos):
photo_from_photos = photos.pop(0)
img = send_image(session, headers, task['id'], photo_from_photos)#photos.pop(0))
img = send_image(session, headers, task['id'], photo_from_photos) # photos.pop(0))
# count_send_photo = 0
# while img['id'] is None:
# count_send_photo += 1

View File

@ -1,13 +1,30 @@
certifi==2020.4.5.2
appdirs==1.4.4
autopep8==1.5.4
black==20.8b1
certifi==2020.6.20
chardet==3.0.4
click==7.1.2
docx==0.2.4
geographiclib==1.50
idna==2.9
exception==0.1.0
flake8==3.8.3
idna==2.10
jedi==0.17.2
lxml==4.5.2
mccabe==0.6.1
mypy-extensions==0.4.3
parso==0.7.1
pathspec==0.8.0
pdf2image==1.14.0
Pillow==7.2.0
pycodestyle==2.6.0
pyflakes==2.2.0
python-docx==0.8.10
requests==2.23.0
requests-toolbelt==0.9.1
regex==2020.7.14
requests==2.24.0
rope==0.17.0
six==1.15.0
urllib3==1.25.9
toml==0.10.1
typed-ast==1.4.1
typing-extensions==3.7.4.3
urllib3==1.25.10
yapf==0.30.0