Moibe commited on
Commit
ad713d5
1 Parent(s): fdb717e

Fix command @ app.py

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. hola.py +2 -0
app.py CHANGED
@@ -28,7 +28,7 @@ def greet(input1, input2):
28
  # print("source_path: ", source_path)
29
  # print("target_path: ", target_path)
30
 
31
- command = "python hola.py"
32
  print(command)
33
  time.sleep(1)
34
  proc = os.popen(command)
 
28
  # print("source_path: ", source_path)
29
  # print("target_path: ", target_path)
30
 
31
+ command = "python hola.py -t D:/Esyle-Prod/fotos/irina.jpg"
32
  print(command)
33
  time.sleep(1)
34
  proc = os.popen(command)
hola.py CHANGED
@@ -6,5 +6,7 @@ parser.add_argument('-t', '--target_path', help='Ruta al archivo de destino')
6
 
7
  args = parser.parse_args()
8
 
 
 
9
  print("Hola desde Hola.py")
10
  print("El target path recibido es: ", args.target_path)
 
6
 
7
  args = parser.parse_args()
8
 
9
+ print("Esto es args: ", args)
10
+
11
  print("Hola desde Hola.py")
12
  print("El target path recibido es: ", args.target_path)