Skip to content

Commit

Permalink
Fix the filter by time
Browse files Browse the repository at this point in the history
  • Loading branch information
tereom committed Jul 3, 2018
1 parent 5c0008f commit c300644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/monitor_stan_15.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def main(argv):
for filename in added:
descriptores = procesar_nombre(filename)
print(descriptores)
if(descriptores["tipo"] == "REMESAS" and (descriptores["fecha"][-2,] in min_seleccionados)):
if(descriptores["tipo"] == "REMESAS" and (descriptores["fecha"][4:6] in min_seleccionados)):
full_path = data_path + "/" + filename
subprocess.call(["r", "-e", "quickcountmx:::process_batch_stan('" +full_path+"','"+descriptores['nombre']+"','"+path_out+"','"+path_results+"','"+team+"')"])
else:
Expand Down

0 comments on commit c300644

Please sign in to comment.