[Navigate Results][Fixed] Icons provided by the output

- Weren't copied to the destination
This commit is contained in:
Salvador E. Tropea 2024-01-29 11:04:31 -03:00
parent e47124ea51
commit 4219980c95
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class Navigate_ResultsOptions(BaseOptions):
def copy(self, img, width):
""" Copy an SVG icon to the images/ dir.
Tries to convert it to PNG. """
img_w = "{}_{}".format(img, width)
img_w = "{}_{}".format(os.path.basename(img), width)
if img_w in self.copied_images:
# Already copied, just return its name
return self.copied_images[img_w]