Explorar o código

打印数据太大导致报错,移除打印

zhangdongming %!s(int64=2) %!d(string=hai) anos
pai
achega
8965982fc3
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Service/middleware.py

+ 0 - 2
Service/middleware.py

@@ -26,8 +26,6 @@ class StatisticsUrlMiddleware(MiddlewareMixin):
             api_settings.ADDR_URL.pop(0)
 
     def process_request(self, request):
-        if request.path != '/favicon.ico':
-            print('process_request:', request)
         result = self._https_statistics_to_reverse(request)
         if result == -1:
             response = ResponseObject()