From 4219980c955d88439112af2fb737d173fa974c2c Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 29 Jan 2024 11:04:31 -0300 Subject: [PATCH] [Navigate Results][Fixed] Icons provided by the output - Weren't copied to the destination --- kibot/out_navigate_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/out_navigate_results.py b/kibot/out_navigate_results.py index 736a6f76..0e1a6e96 100644 --- a/kibot/out_navigate_results.py +++ b/kibot/out_navigate_results.py @@ -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]