Explorar o código

removed warning log

Rodja Trappe %!s(int64=2) %!d(string=hai) anos
pai
achega
e24d61c704
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      traffic_tracking.py

+ 0 - 1
traffic_tracking.py

@@ -44,7 +44,6 @@ class TrafficChard(ui.chart):
         agent = request.headers['user-agent'].lower()
         if any(s in agent for s in ('bot', 'spider', 'crawler', 'monitor', 'curl', 'wget', 'python-requests', 'kuma')):
             return
-        logging.warning(agent)
 
         def seconds_to_day(seconds: float) -> int: return int(seconds / 60 / 60 / 24)
         def day_to_milliseconds(day: int) -> float: return day * 24 * 60 * 60 * 1000