浏览代码

修改云存上传数据时间

peng 2 年之前
父节点
当前提交
007bfc299d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/CloudStorage.py

+ 1 - 1
Controller/CloudStorage.py

@@ -590,7 +590,7 @@ class CloudStorageView(View):
                     fg=fg,
                     fg=fg,
                     sec=sec,
                     sec=sec,
                 )
                 )
-                end_time_stamp = datetime.datetime.fromtimestamp(int(store_time))
+                end_time_stamp = datetime.datetime.fromtimestamp(int(storeTime))
                 end_time_str = datetime.datetime(end_time_stamp.year, end_time_stamp.month, 1)
                 end_time_str = datetime.datetime(end_time_stamp.year, end_time_stamp.month, 1)
                 end_time_stamp = CommonService.str_to_timestamp(end_time_str.strftime('%Y-%m-%d %H:%M:%S'))
                 end_time_stamp = CommonService.str_to_timestamp(end_time_str.strftime('%Y-%m-%d %H:%M:%S'))
                 vod_hls_qs = VodHlsSummary.objects.filter(uid=UID, time=end_time_stamp)
                 vod_hls_qs = VodHlsSummary.objects.filter(uid=UID, time=end_time_stamp)