Add small docstring about method

This commit is contained in:
2024-05-30 18:02:06 +02:00
parent ebbb80a2da
commit 30531affba
+2 -1
View File
@@ -138,7 +138,8 @@ class ExportForFange(bpy.types.Operator):
return Path() return Path()
@staticmethod @staticmethod
def get_asset_name(): def get_asset_name() -> str:
"""From the .blend file, return the blend name."""
abs_blend_path = Path(bpy.data.filepath) abs_blend_path = Path(bpy.data.filepath)
return abs_blend_path.stem return abs_blend_path.stem