Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/cpsection/smolt/__init__.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/extensions/cpsection/smolt/__init__.py b/extensions/cpsection/smolt/__init__.py
index d1c0327..b7efd8a 100644
--- a/extensions/cpsection/smolt/__init__.py
+++ b/extensions/cpsection/smolt/__init__.py
@@ -14,11 +14,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+from os import path
from gettext import gettext as _
-CLASS = 'smolt'
-ICON = 'module-smolt'
-TITLE = _('Hardware Profile')
-
-
-
+if path.exists('/usr/bin/smoltSendProfile'):
+ CLASS = 'smolt'
+ ICON = 'module-smolt'
+ TITLE = _('Hardware Profile')