aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Schneider <nils@nilsschneider.net>2014-02-09 16:55:50 +0100
committerNils Schneider <nils@nilsschneider.net>2014-02-09 16:55:50 +0100
commit8c0e367f3d5d7b1b68125f4c9a2052f04a28d09e (patch)
tree61201e99fd7f1ad06d7a070aa5c4f9da5c47d554
parent37db42b51ec8c1628a27674709083b591677f57a (diff)
rrd.py: remove unused argument
-rwxr-xr-xrrd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rrd.py b/rrd.py
index aaf64d7..e107f4c 100755
--- a/rrd.py
+++ b/rrd.py
@@ -96,7 +96,7 @@ class rrd:
]
subprocess.check_output(args)
- def createNodeGraph(self,nodePrimaryMAC,displayTimeNode):
+ def createNodeGraph(self,nodePrimaryMAC):
nodeGraph = self.nodeMACToPNGFile(nodePrimaryMAC)
nodeFile = self.nodeMACToRRDFile(nodePrimaryMAC)
args = ['rrdtool','graph', nodeGraph, '-s', '-' + self.displayTimeNode , '-w', '800', '-h', '400', '-l', '0', '-y', '1:1',
@@ -150,4 +150,4 @@ class rrd:
nodeName = os.path.basename(fileName).split('.')
if nodeName[1] == 'rrd' and not nodeName[0] == "nodes":
- self.createNodeGraph(nodeName[0],self.displayTimeNode)
+ self.createNodeGraph(nodeName[0])