From 3a10aa78097947c5413f6ac1ed7c306358588480 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 28 Sep 2022 19:12:50 +0800 Subject: [PATCH] Update index.py --- plugins/imail/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/imail/index.py b/plugins/imail/index.py index 5044fc4ea..c2b4c9fdc 100755 --- a/plugins/imail/index.py +++ b/plugins/imail/index.py @@ -112,7 +112,7 @@ class App: # systemd systemDir = mw.systemdCfgDir() systemService = systemDir + '/imail.service' - systemServiceTpl = getPluginDir() + '/init.d/imail.service.tpl' + systemServiceTpl = self.getPluginDir() + '/init.d/imail.service.tpl' if os.path.exists(systemDir) and not os.path.exists(systemService): service_path = mw.getServerDir() se_content = mw.readFile(systemServiceTpl)