Kaynağa Gözat

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

zhangdongming 2 yıl önce
ebeveyn
işleme
8965982fc3
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  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()