rrd.py: fix isfile check

alfred-data
Nils Schneider 2013-11-25 13:17:53 +01:00
parent 7e498c4197
commit 86485bc7df
1 changed files with 1 additions and 1 deletions

2
rrd.py
View File

@ -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('.')