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:
nutti
2024-07-29 14:04:41 +02:00
committed by Pratik Borhade
parent 101d54fb7f
commit e0cdfb8566

View File

@@ -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.