DevDengChao пре 8 месеци
родитељ
комит
748842599f
1 измењених фајлова са 1 додато и 1 уклоњено
  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)