diff --git a/plugins/nezha/index.py b/plugins/nezha/index.py index a53f94951..48b4cb8da 100755 --- a/plugins/nezha/index.py +++ b/plugins/nezha/index.py @@ -208,7 +208,7 @@ class App: def getVersion(self): ver_file = self.getServerDir()+"/version.pl" - return mw.readFile(ver_file) + return mw.readFile(ver_file).strip() def uninstall_pre_inspection(self): version = self.getVersion()