From 895a55b2622746f3b7ab7648aeb77c91effb77cd Mon Sep 17 00:00:00 2001 From: cn Date: Mon, 16 Sep 2013 16:53:06 +0200 Subject: [PATCH] Import os --- mumble | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mumble b/mumble index a47979f..15fa81b 100644 --- a/mumble +++ b/mumble @@ -4,6 +4,9 @@ # munin-murmur.py - "murmur stats (User/Bans/Uptime/Channels)" script for munin. # Copyright (c) 2012, Natenom / natenom@natenom.name +import os +import sys + # Path to Murmur.ice iceslice = os.environ.get('iceslice', '/usr/share/slice/Murmur.ice') @@ -26,7 +29,7 @@ icesecret = os.environ.get('icesecret', 'secureme') # This value is being interpreted in kibiBytes. messagesizemax = os.environ.get('messagesizemax', '65535') -import Ice, sys +import Ice Ice.loadSlice("--all -I%s %s" % (iceincludepath, iceslice)) props = Ice.createProperties([])