Get user first and check for None before accessing .settings attribute. Returns None gracefully instead of crashing with AttributeError.
23 KiB
23 KiB
Get user first and check for None before accessing .settings attribute. Returns None gracefully instead of crashing with AttributeError.