Browse Source

删掉ratelimit导入

locky 2 years ago
parent
commit
18a9858810
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Controller/ShadowController.py

+ 2 - 1
Controller/ShadowController.py

@@ -1,9 +1,10 @@
 import logging
 import logging
 import threading
 import threading
 import time
 import time
+
 import requests
 import requests
 from django.http import JsonResponse
 from django.http import JsonResponse
-from ratelimit.decorators import ratelimit
+
 from AnsjerPush.config import SERVER_TYPE
 from AnsjerPush.config import SERVER_TYPE
 from Model.models import Device_Info, UidSetModel, UID_Preview, VoicePromptModel, UID_Bucket, UidChannelSetModel, \
 from Model.models import Device_Info, UidSetModel, UID_Preview, VoicePromptModel, UID_Bucket, UidChannelSetModel, \
     AiService, CountryModel
     AiService, CountryModel