Start to support version read/write

This commit is contained in:
WQY\qiong
2023-03-21 21:29:33 +08:00
parent 6ed7e00e03
commit 398ba09106
3 changed files with 12 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ from .s27_backdrop import inp_out_backdrop
#from .s28_end import *
def dump_inp(project: str, inp: str):
def dump_inp(project: str, inp: str, version: str = '3'):
if not have_project(project):
return
@@ -144,7 +144,7 @@ def dump_inp(project: str, inp: str):
close_project(project)
def export_inp(project: str) -> ChangeSet:
def export_inp(project: str, version: str = '3') -> ChangeSet:
if not have_project(project):
return ChangeSet()