From affb9ea2c9a142da853e09c4d6c18299623a9302 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 11 Apr 2024 10:05:54 +0200 Subject: [PATCH] print-debugging --- files/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/__main__.py b/files/__main__.py index fb3bb84ee..17db09622 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -62,6 +62,8 @@ def get_IP(): x = request.headers.get('CF-Connecting-IP') if not x: x = request.headers.get('X-Forwarded-For') + if not x: + print(get_ID(), flush=True) return x limiter = Limiter(