Typo in Python API documentation #38032

Closed
opened 2014-01-02 18:23:59 +01:00 by Christian Schrader · 10 comments

The documentation of the python api under

  http://www.blender.org/documentation/blender_python_api_2_69_7/info_tips_and_tricks.html#executing-modules

contains a small typo:

blend_dir = os.path.basename(bpy.data.filepath)

should be

blend_dir = os.path.dirname(bpy.data.filepath)

http://git.blender.org/gitweb/gitweb.cgi/blender.git/blob_plain/HEAD:/doc/python_api/rst/info_tips_and_tricks.rst
line 118

The documentation of the python api under ``` http://www.blender.org/documentation/blender_python_api_2_69_7/info_tips_and_tricks.html#executing-modules ``` contains a small typo: blend_dir = os.path.basename(bpy.data.filepath) should be blend_dir = os.path.dirname(bpy.data.filepath) http://git.blender.org/gitweb/gitweb.cgi/blender.git/blob_plain/HEAD:/doc/python_api/rst/info_tips_and_tricks.rst line 118

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @zoyo

Added subscriber: @zoyo
Campbell Barton was assigned by Sergey Sharybin 2014-01-02 21:03:08 +01:00

Added subscribers: @ideasman42, @Sergey

Added subscribers: @ideasman42, @Sergey

Changing the typo in source tree is easy. To upload the changes to the server we need @campbellbarton.

Changing the typo in source tree is easy. To upload the changes to the server we need @campbellbarton.

This issue was referenced by blender/blender-addons-contrib@f345414b89

This issue was referenced by blender/blender-addons-contrib@f345414b89a9d94cca668c10ce8f0464d06dea4f

This issue was referenced by blender/blender@f345414b89

This issue was referenced by blender/blender@f345414b89a9d94cca668c10ce8f0464d06dea4f

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit blender/blender@f345414b89.

Closed by commit blender/blender@f345414b89.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Commited the typo fix, docs will be updated the next time Campbell does an update. :)

Commited the typo fix, docs will be updated the next time Campbell does an update. :)
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#38032
No description provided.