use extension when loading wildcards
This commit is contained in:
parent
fa3a36ed25
commit
ec4662690f
|
@ -460,7 +460,7 @@ def load_wildcards(server: ServerContext) -> None:
|
|||
)
|
||||
|
||||
for file in wildcard_files:
|
||||
with open(file, "r") as f:
|
||||
with open(f"{file}.txt", "r") as f:
|
||||
lines = f.read().splitlines()
|
||||
logger.debug("loading wildcards from %s: %s", file, lines)
|
||||
wildcard_data[file] = lines
|
||||
|
|
Loading…
Reference in New Issue