From 806f73727b86e8005efda55895a2f66454d8369f Mon Sep 17 00:00:00 2001 From: Yozora Date: Mon, 23 Dec 2024 16:54:28 +0000 Subject: [PATCH] remove duplicate imports --- modules/logs.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/logs.py b/modules/logs.py index d0d70b4e..4fa97983 100644 --- a/modules/logs.py +++ b/modules/logs.py @@ -27,9 +27,6 @@ def fmt_filter(record): _srcfile = os.path.normcase(fmt_filter.__code__.co_filename) -import os -from logging.handlers import RotatingFileHandler - class CustomRotatingFileHandler(RotatingFileHandler): def rotation_filename(self, default_name): dirname, basename = os.path.split(default_name)