rrd.py: remove unused argument

rewrite
Nils Schneider 2014-02-09 16:55:50 +01:00
parent 37db42b51e
commit 8c0e367f3d
1 changed files with 2 additions and 2 deletions

4
rrd.py
View File

@ -96,7 +96,7 @@ class rrd:
] ]
subprocess.check_output(args) subprocess.check_output(args)
def createNodeGraph(self,nodePrimaryMAC,displayTimeNode): def createNodeGraph(self,nodePrimaryMAC):
nodeGraph = self.nodeMACToPNGFile(nodePrimaryMAC) nodeGraph = self.nodeMACToPNGFile(nodePrimaryMAC)
nodeFile = self.nodeMACToRRDFile(nodePrimaryMAC) nodeFile = self.nodeMACToRRDFile(nodePrimaryMAC)
args = ['rrdtool','graph', nodeGraph, '-s', '-' + self.displayTimeNode , '-w', '800', '-h', '400', '-l', '0', '-y', '1:1', 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('.') nodeName = os.path.basename(fileName).split('.')
if nodeName[1] == 'rrd' and not nodeName[0] == "nodes": if nodeName[1] == 'rrd' and not nodeName[0] == "nodes":
self.createNodeGraph(nodeName[0],self.displayTimeNode) self.createNodeGraph(nodeName[0])