forked from Github-Mirrors/canaille
chore: remove unused guard
This commit is contained in:
parent
0fabf4c1a2
commit
a6bd3e6002
1 changed files with 0 additions and 3 deletions
|
@ -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"])
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in a new issue