From 86485bc7df39299b6386f2e3d9d7e1298cf1b402 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 25 Nov 2013 13:17:53 +0100 Subject: [PATCH] rrd.py: fix isfile check --- rrd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrd.py b/rrd.py index fcca041..26ff956 100755 --- a/rrd.py +++ b/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('.')