Browse Source

fix: args

DevDengChao 8 months ago
parent
commit
748842599f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sql/tools/convertor.py

+ 1 - 1
sql/tools/convertor.py

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