Remove unused import of Enum and auto in Utils

This commit is contained in:
Fabian Dill
2026-04-13 10:16:25 +02:00
committed by GitHub
parent 78c16ad6c9
commit 07b8f52243

View File

@@ -19,7 +19,6 @@ import warnings
from argparse import Namespace
from datetime import datetime, timezone
from enum import Enum, auto
from settings import Settings, get_settings
from time import sleep
@@ -1375,4 +1374,3 @@ def get_all_causes(ex: Exception) -> str:
top = causes[-1]
others = "".join(f"\n{' ' * (i + 1)}Which caused: {c}" for i, c in enumerate(reversed(causes[:-1])))
return f"{top}{others}"