From 4570e56e2da529cd2b83ca1e457774f671a58bdf Mon Sep 17 00:00:00 2001 From: Garulf <535299+Garulf@users.noreply.github.com> Date: Fri, 16 Jul 2021 12:44:58 -0400 Subject: [PATCH] update file structure --- plugin/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/main.py b/plugin/main.py index b80f630..464a150 100644 --- a/plugin/main.py +++ b/plugin/main.py @@ -20,7 +20,7 @@ class MDI(FlowLauncher): def __init__(self): self.result = [] - with open("./icons.json", "r") as f: + with open("./plugin/icons.json", "r") as f: self.icons = json.load(f) super().__init__() @@ -32,7 +32,7 @@ def filter(self, icon): { "Title": icon['name'], "SubTitle": 'Press ENTER to copy to clipboard', - "IcoPath": f'./icons/{icon["name"]}.svg', + "IcoPath": f'./plugin/icons/{icon["name"]}.svg', "JsonRPCAction": { "method": "copy_to_clipboard", "parameters": [icon['name']]