linted code

This commit is contained in:
carnivuth
2026-02-02 22:06:53 +01:00
parent c0a60811c5
commit a33e03563f

View File

@@ -13,7 +13,6 @@ import os
from database import get_database
from config import Config, get_config
# imports for the __init_subclass__ method, do not remove pls
from firewall.fwtype import FWType
from firewall.iptables import Iptables
@@ -947,9 +946,7 @@ class Handler(BaseHTTPRequestHandler):
if fwtype == "raw":
filename = f"malicious_ips.txt"
file_path = os.path.join(
self.config.exports_path, f"{filename}"
)
file_path = os.path.join(self.config.exports_path, f"{filename}")
try:
if os.path.exists(file_path):