fix: args

This commit is contained in:
DevDengChao
2025-09-29 16:20:18 +08:00
parent b5c2a185b8
commit 748842599f

View File

@@ -927,7 +927,7 @@ def main():
) )
args = parser.parse_args() args = parser.parse_args()
sql_file = pathlib.Path(arg.path).resolve().as_posix() sql_file = pathlib.Path(args.path).resolve().as_posix()
convertor = None convertor = None
if args.type == "postgres": if args.type == "postgres":
convertor = PostgreSQLConvertor(sql_file) convertor = PostgreSQLConvertor(sql_file)