Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: unsupported format string passed to NoneType.__format__ #13

Closed
t3m8ch opened this issue Jul 11, 2021 · 0 comments
Closed

TypeError: unsupported format string passed to NoneType.__format__ #13

t3m8ch opened this issue Jul 11, 2021 · 0 comments

Comments

@t3m8ch
Copy link
Owner

t3m8ch commented Jul 11, 2021

Traceback (most recent call last):
  File "/home/artem/.cache/pypoetry/virtualenvs/bot-qotSLMLb-py3.9/lib/python3.9/site-packages/apscheduler/executors/base_py3.py", line 30, in run_coroutine_job
    retval = await job.func(*job.args, **job.kwargs)
  File "/home/artem/Trash/TelegramDev/avito-parser/bot/jobs/send_new_ads.py", line 29, in send_new_ads_job
    f"Цена: {'{0:f}'.format(ad.price) + ' рублей' or 'не указана'}\n\n" \
TypeError: unsupported format string passed to NoneType.__format__
@t3m8ch t3m8ch closed this as completed in d8c1ac5 Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant