Traceback (most recent call last):


 "/home/pi/.local/lib/python3.5/site-packages/telebot/util.py", line 59, in run

task(*args, **kwargs)


 "/home/pi/.local/lib/python3.5/site-packages/telebot/__init__.py", line 277, in __retrieve_updates

self.process_new_updates(updates)


 "/home/pi/.local/lib/python3.5/site-packages/telebot/__init__.py", line 314, in process_new_updates

self.process_new_messages(new_messages)


 "/home/pi/.local/lib/python3.5/site-packages/telebot/__init__.py", line 336, in process_new_messages

self._notify_command_handlers(self.message_handlers, new_messages)


 "/home/pi/.local/lib/python3.5/site-packages/telebot/__init__.py", line 1489, in _notify_command_handlers

if self._test_message_handler(message_handler, message):


 "/home/pi/.local/lib/python3.5/site-packages/telebot/__init__.py", line 1470, in _test_message_handler

if not self._test_filter(filter, filter_value, message):


 "/home/pi/.local/lib/python3.5/site-packages/telebot/__init__.py", line 1484, in _test_filter

return test_cases.get(filter, lambda msg: False)(message)


 "/home/pi/.local/lib/python3.5/site-packages/telebot/__init__.py", line 1478, in <lambda>

'content_types': lambda msg: msg.content_type in filter_value,
TypeError: 'in <string>' requires string as left operand, not NoneType```
Traceback (most recent call last):


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/bin/uvicorn", line 8, in <module>

sys.exit(main())


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/site-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/site-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/site-packages/uvicorn/main.py", line 323, in main

run(**kwargs)


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/site-packages/uvicorn/main.py", line 346, in run

server.run()


 "/home/aki/.local/share/virtualenvs/uvicorn-test-FCyCddYk/site-packages/uvicorn/main.py", line 374, in run

loop.run_until_complete(self.serve(sockets=sockets))


 "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
TypeError: 'NoneType' object is not iterable
