ck hace 4 años
padre
commit
9992997066
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      dgp/tests/get_data_hourly.py

+ 2 - 1
dgp/tests/get_data_hourly.py

@@ -184,9 +184,10 @@ if __name__ == '__main__':
 			my_time=(datetime.today()-timedelta(days=i)).strftime('%Y-%m-%d')
 			print("run["+my_time+"]data")
 			start_cost_job()
-			i+=1
 			if i==a:
 				break
+			i+=1
+
 
 	start_cost_job()