DEV Community

Discussion on: A Smart-ish Covid ChatBot 🤖

Collapse
 
phu68870946 profile image
Phu

Can you tell me about the bug:
File "./app/services/stats_service.py", line 17, in getUkStats
response = httpx.get(settings.COVID_STATS_ENDPOINT + '?format=json&name=uk', headers=headers)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Collapse
 
ari_hacks profile image
Ari 🪐

Hey Phu,

Are you using Python 3?

Collapse
 
phu68870946 profile image
Phu

I am using python3.8