Cursor wrote a function find_name that's supposed to return a name string
but returns None when the user is missing. Then line 5 calls .upper() on
the result, which crashes with AttributeError: 'NoneType' object has no attribute 'upper'.
Fix line 1 so the function actually returns "maya". The None case is a
separate bug — for now, just give the function a real return value so the
script prints MAYA.
Cursor wrote a function find_name that's supposed to return a name string
but returns None when the user is missing. Then line 5 calls .upper() on
the result, which crashes with AttributeError: 'NoneType' object has no attribute 'upper'.
Fix line 1 so the function actually returns "maya". The None case is a
separate bug — for now, just give the function a real return value so the
script prints MAYA.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.