Browse Source

修改打印数据太多导致异常问题

zhangdongming 2 năm trước cách đây
mục cha
commit
f3c612da69
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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()