rrd.py: fix isfile check
This commit is contained in:
parent
7e498c4197
commit
86485bc7df
1 changed files with 1 additions and 1 deletions
2
rrd.py
2
rrd.py
|
@ -144,7 +144,7 @@ class rrd:
|
|||
nodeDbFiles = os.listdir(self.dbPath)
|
||||
|
||||
for fileName in nodeDbFiles:
|
||||
if not os.path.isfile(fileName):
|
||||
if not os.path.isfile(os.path.join(self.dbPath, fileName)):
|
||||
continue
|
||||
|
||||
nodeName = os.path.basename(fileName).split('.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue