synshop / ShopIdentifyer

SYN Shop Identity Management System
GNU General Public License v3.0
2 stars 1 forks source link

Fix issue with event_log #131

Closed munroebot closed 9 months ago

munroebot commented 10 months ago

Traceback (most recent call last):
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/home/ubuntu/ShopIdentifyer/identity/__init__.py", line 1177, in show_event_log
    insert_log_event(request)
  File "/home/ubuntu/ShopIdentifyer/identity/__init__.py", line 947, in insert_log_event
    if len(member_tmp) > 0:
TypeError: object of type 'NoneType' has no len()```