summaryrefslogtreecommitdiffstats
path: root/modules/smart.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/smart.py')
-rwxr-xr-xmodules/smart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/smart.py b/modules/smart.py
index 410e353..4ed8335 100755
--- a/modules/smart.py
+++ b/modules/smart.py
@@ -16,7 +16,7 @@
##
# other modules
-import subprocess
+import sub_process
# our modules
from codes import *
@@ -40,7 +40,7 @@ class SmartModule(func_module.FuncModule):
flags.replace(";","") # prevent stupidity
- cmd = subprocess.Popen("/usr/sbin/smartd %s" % flags,stdout=subprocess.PIPE,shell=True)
+ cmd = sub_process.Popen("/usr/sbin/smartd %s" % flags,stdout=sub_process.PIPE,shell=True)
data = cmd.communicate()[0]
results = []