Skip to content

Commit

Permalink
Fixed wrong cpacs version in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rainman110 committed Apr 25, 2020
1 parent 1addac3 commit f13fe4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpacs2to3/cpacs_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def add_changelog(tixi3_handle, text, creator="cpacs2to3"):
tixi3_handle.addTextElement(xpath, "creator", creator)
tixi3_handle.addTextElement(xpath, "timestamp", datetime.now().strftime("%Y-%m-%dT%H:%M:%S"))
tixi3_handle.addTextElement(xpath, "version", next_version)
tixi3_handle.addTextElement(xpath, "cpacsVersion", "3.0")
cpacs_version = get_cpacs_version(tixi3_handle)
tixi3_handle.addTextElement(xpath, "cpacsVersion", cpacs_version)


def add_uid(tixi3, xpath, uid):
Expand Down

0 comments on commit f13fe4f

Please sign in to comment.