Browse Source

update field

lang 4 years ago
parent
commit
38b9e6369d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/CloudStorage.py

+ 1 - 1
Controller/CloudStorage.py

@@ -559,7 +559,7 @@ class CloudStorageView(View):
         print('channel:')
         print('channel:')
         print(channel)
         print(channel)
         now_time = int(time.time())
         now_time = int(time.time())
-        ubqs = UID_Bucket.objects.filter(uid=UID, channel=channel, is_use=1, endTime__gte=now_time). \
+        ubqs = UID_Bucket.objects.filter(uid=UID, channel=channel, endTime__gte=now_time). \
             values("bucket__mold", "bucket__bucket", "bucket__endpoint",
             values("bucket__mold", "bucket__bucket", "bucket__endpoint",
                    "bucket__region", "status", "bucket__storeDay", "bucket__id").order_by('endTime')[:1]
                    "bucket__region", "status", "bucket__storeDay", "bucket__id").order_by('endTime')[:1]
         if ubqs.exists():
         if ubqs.exists():