ck преди 4 години
родител
ревизия
bca8248f36
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      app/etl/data_stat_daily.py

+ 2 - 2
app/etl/data_stat_daily.py

@@ -4,11 +4,11 @@ from data_stat_task import *
 du = DateUtils()
 
 yestoday = du.get_n_days(-1)
-today = du.get_n_days()
+today = du.get_n_days(0)
 
 def _channel_by_account_daily():
     channel_by_account_daily(today)
-    channel_by_account_daily(du.get_n_days(yestoday))
+    channel_by_account_daily(yestoday)
 
 
 def _channel_info_daily():