Steps to reproduce
BOT.send_location(chat_id = TEST_CHAT_ID, latitude=0, longitude=0)
Expected behaviour
Sending the location of the north pole
Actual behaviour
ValueError: Either location or latitude and longitude must be passed asargument.
Suggestion on how to solve
Do not use all function in
|
if not (all([latitude, longitude]) or location): |