Fix: Incorrect f-string in previews.py

Contributed by @deadpin

Differential Revision: https://developer.blender.org/D7458
This commit is contained in:
Jacques Lucke 2020-04-21 14:32:25 +02:00
parent f4ee9643ad
commit b4993a9032
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class ImagePreviewCollection(dict):
def load(self, name, path, path_type, force_reload=False):
if name in self:
raise KeyError("key {name!r} already exists")
raise KeyError(f"key {name!r} already exists")
p = self[name] = _utils_previews.load(
self._gen_key(name), path, path_type, force_reload)
return p