Fix stupid mistake in previous commit for release builds of API doc.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 23 Feb 2017 21:08:01 +0000 (22:08 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 23 Feb 2017 21:08:01 +0000 (22:08 +0100)
doc/python_api/sphinx_doc_update.py

index c7717c4a809c2ea5d94b554ed64bfc79b43a667a..884ddeecffb7fcc8905886c5c9496853fbfa260e 100755 (executable)
@@ -121,7 +121,7 @@ def main():
             "    f.write('%d\\n' % is_release)\n"
             "    f.write('%d.%d%s\\n' % (bpy.app.version[0], bpy.app.version[1], bpy.app.version_char)\n"
             "            if is_release else '%s\\n' % branch)\n"
-            "    f.write('%d_%d%s_release\\n' % (bpy.app.version[0], bpy.app.version[1], bpy.app.version_char)\n"
+            "    f.write('%d_%d%s_release' % (bpy.app.version[0], bpy.app.version[1], bpy.app.version_char)\n"
             "            if is_release else '%d_%d_%d' % bpy.app.version)\n")
         get_ver_cmd = (args.blender, "--background", "-noaudio", "--factory-startup", "--python-exit-code", "1",
                        "--python-expr", getver_script, "--", getver_file)