baoyubo преди 2 седмици
родител
ревизия
6af7c59976
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      jobs/hkvideo_job.py

+ 4 - 0
jobs/hkvideo_job.py

@@ -114,6 +114,8 @@ def refresh_hkvideo_list(db: Session):
                         region = unitIndexCode_get_video_region_info(db,camera_info['unitIndexCode'])
                         if region is not None:
                             regionPath = region.regionPath
+                        if '84021e2f6eba4e6b8ccc7d750fb833fa' in regionPath:
+                            continue
                         info = TPVideoInfo(
                             cameraIndexCode=camera_info['cameraIndexCode'],
                             gbIndexCode=camera_info['gbIndexCode'],
@@ -177,6 +179,8 @@ def refresh_hkvideo_region_list(db: Session):
                             available ='1'
                         else:
                             available = '0'
+                        if '84021e2f6eba4e6b8ccc7d750fb833fa' in cregion_info['regionPath']:
+                            continue
                         info = TPVideoRegion(
                                     indexCode = cregion_info['indexCode'],
                                     regionPath = cregion_info['regionPath'],