From 6be8e3ec884c8f3efe93625325d27a4282b331c7 Mon Sep 17 00:00:00 2001 From: copronista <161069939+copronista@users.noreply.github.com> Date: Sat, 13 Sep 2025 23:12:44 -0400 Subject: [PATCH] Update plugin.py https://github.com/spesmilo/electrum/issues/10220 --- electrum/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/plugin.py b/electrum/plugin.py index 8d161f89e..021df3e6a 100644 --- a/electrum/plugin.py +++ b/electrum/plugin.py @@ -794,7 +794,7 @@ class Plugins(DaemonThread): metadata = self.external_plugin_metadata[name] dirname = metadata['dirname'] with zipfile_lib.ZipFile(plugin_filename) as myzip: - with myzip.open(os.path.join(dirname, filename)) as myfile: + with myzip.open("/".join([dirname,filename])) as myfile: return myfile.read() elif name in self.internal_plugin_metadata: path = os.path.join(os.path.dirname(__file__), 'plugins', name, filename)