Add missing prefix to formatted strings

This commit is contained in:
Joakim Soderlund 2018-03-04 13:51:22 +01:00
parent 9d9c3e05e3
commit f9b65dab70

View file

@ -81,7 +81,7 @@ class DirectoryFetcher(Fetcher):
return return
if not path.is_dir(): 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(): for item in Path(path).iterdir():
if not item.is_file(): if not item.is_file():