From 0159b89194a62c72871e4baa7c68ea4014adadb6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 9 Jul 2011 17:40:31 +0200 Subject: [PATCH] Minor change for release in information page --- src/mambatray | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mambatray b/src/mambatray index 130bbc8..67a1184 100755 --- a/src/mambatray +++ b/src/mambatray @@ -97,7 +97,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon): v = open(path, 'r') version = v.read() a = self.FormattaInfo() - version = "" + version = "" v.close() else: version = "Error: Unable to find /etc/openmamba-release" @@ -110,9 +110,9 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon): def FormattaInfo(self): result = [] - v = version + v = version #result[0]=versione - result.append(v[ v.find("openmamba ")+10 : v.find(" for") ] + " " + v[ v.find("(") : v.find(")")+1 ]) + result.append(v[ v.find("openmamba release ")+18 : v.find(" for") ] + " " + v[ v.find("(") : v.find(")")+1 ]) #result[1] = piattaforma result.append(v[ v.find("for")+4 : v.find("(") ]) return result