chore: remove unused guard

This commit is contained in:
Éloi Rivard 2024-03-29 12:00:20 +01:00
parent 0fabf4c1a2
commit a6bd3e6002
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -197,9 +197,6 @@ def validate_smtp_configuration(config):
def validate_theme(config): def validate_theme(config):
if not config or not config["THEME"]:
return
if not os.path.exists(config["THEME"]) and not os.path.exists( if not os.path.exists(config["THEME"]) and not os.path.exists(
os.path.join(ROOT, "themes", config["THEME"]) os.path.join(ROOT, "themes", config["THEME"])
): ):