Fix: Docstring of the bpy.utils.user_resource argument
Correct argument name is `resource_type` Pull Request: https://projects.blender.org/blender/blender/pulls/125316
This commit is contained in:
@@ -810,8 +810,8 @@ def user_resource(resource_type, *, path="", create=False):
|
||||
"""
|
||||
Return a user resource path (normally from the users home directory).
|
||||
|
||||
:arg type: Resource type in ['DATAFILES', 'CONFIG', 'SCRIPTS', 'EXTENSIONS'].
|
||||
:type type: string
|
||||
:arg resource_type: Resource type in ['DATAFILES', 'CONFIG', 'SCRIPTS', 'EXTENSIONS'].
|
||||
:type resource_type: string
|
||||
:arg path: Optional subdirectory.
|
||||
:type path: string
|
||||
:arg create: Treat the path as a directory and create it if its not existing.
|
||||
|
||||
Reference in New Issue
Block a user