Traceback (most recent call last):
File "/home/erp/diamoerp/apps/frappe/frappe/app.py", line 68, in application
response = frappe.api.handle()
File "/home/erp/diamoerp/apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "/home/erp/diamoerp/apps/frappe/frappe/handler.py", line 31, in handle
data = execute_cmd(cmd)
File "/home/erp/diamoerp/apps/frappe/frappe/handler.py", line 67, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/erp/diamoerp/apps/frappe/frappe/__init__.py", line 1199, in call
return fn(*args, **newargs)
File "/home/erp/diamoerp/apps/chat/chat/api/room.py", line 38, in get
room['is_read'] = 1 if email in room['is_read'] else 0
TypeError: argument of type 'NoneType' is not iterable