From f9b65dab7054de612de3d2d0fb0064fabbb64638 Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Sun, 4 Mar 2018 13:51:22 +0100 Subject: [PATCH] Add missing prefix to formatted strings --- fimfarchive/fetchers/directory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fimfarchive/fetchers/directory.py b/fimfarchive/fetchers/directory.py index c5443cb..3c45a07 100644 --- a/fimfarchive/fetchers/directory.py +++ b/fimfarchive/fetchers/directory.py @@ -81,7 +81,7 @@ class DirectoryFetcher(Fetcher): return if not path.is_dir(): - raise StorySourceError("Path is not a directory: {path}") + raise StorySourceError(f"Path is not a directory: {path}") for item in Path(path).iterdir(): if not item.is_file():