Commit 748842599fd5519dd06eadbe4ac200452aac765e

Authored by DevDengChao
1 parent b5c2a185

fix: args

Showing 1 changed file with 1 additions and 1 deletions
sql/tools/convertor.py
... ... @@ -927,7 +927,7 @@ def main():
927 927 )
928 928 args = parser.parse_args()
929 929  
930   - sql_file = pathlib.Path(arg.path).resolve().as_posix()
  930 + sql_file = pathlib.Path(args.path).resolve().as_posix()
931 931 convertor = None
932 932 if args.type == "postgres":
933 933 convertor = PostgreSQLConvertor(sql_file)
... ...