From 6bc71d5c5f8ae9862359c0cd628561b4d6ae4667 Mon Sep 17 00:00:00 2001 From: yrriban Date: Mon, 28 Apr 2025 15:49:17 -0400 Subject: [PATCH] Fix missing format directive. --- dcc/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcc/config.py b/dcc/config.py index 895e5bb..fc0d6ba 100644 --- a/dcc/config.py +++ b/dcc/config.py @@ -54,7 +54,7 @@ def DsdaPreamble(wad, mapstr): def DemoInPath(wad, mapstr): candidates = [x for x in DEMOS.joinpath(wad).glob("{}_map{}*.lmp".format(wad, mapstr))] if len(candidates) == 0: - raise Exception("no suitable demo candidates for WAD {} MAP {}.", wad, mapstr) + raise Exception("no suitable demo candidates for WAD {} MAP {}.".format(wad, mapstr)) if len(candidates) == 1: return candidates[0] return sorted(filter(lambda s : re.search("-", str(s)), candidates))[-1]