You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/app/main.py", line 184, in _ua
ua['device_type'] = parsed.device_type()
^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/device_detector/device_detector.py", line 560, in device_type
dt = self.all_details.get('device', {}).get('type', '')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
parsed.device attribute also returns None, but it looks like here its self.all_details that is causing the error. Thats not possible either cause I called .all_details, and it is definitely not None.
parsed.device
attribute also returns None, but it looks like here itsself.all_details
that is causing the error. Thats not possible either cause I called.all_details
, and it is definitely not None.The text was updated successfully, but these errors were encountered: