rrd.py: fix isfile check
parent
7e498c4197
commit
86485bc7df
2
rrd.py
2
rrd.py
|
@ -144,7 +144,7 @@ class rrd:
|
||||||
nodeDbFiles = os.listdir(self.dbPath)
|
nodeDbFiles = os.listdir(self.dbPath)
|
||||||
|
|
||||||
for fileName in nodeDbFiles:
|
for fileName in nodeDbFiles:
|
||||||
if not os.path.isfile(fileName):
|
if not os.path.isfile(os.path.join(self.dbPath, fileName)):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
nodeName = os.path.basename(fileName).split('.')
|
nodeName = os.path.basename(fileName).split('.')
|
||||||
|
|
Loading…
Reference in New Issue