]> git.ipfire.org Git - nitsi.git/commitdiff
Fix logging if we do not have an image file
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Thu, 19 Apr 2018 11:00:19 +0000 (13:00 +0200)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Thu, 19 Apr 2018 11:00:19 +0000 (13:00 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
test.py

diff --git a/test.py b/test.py
index 37876551acde3cce786b0360fd642a26a8e080f2..d2a6d97907e32e7516087d4edaf55f8185567da5 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -72,7 +72,7 @@ class vm():
         self.image = image
 
         if not os.path.isfile(self.image):
-            self.log.error("No such file: {}".format(self.settings_file))
+            self.log.error("No such file: {}".format(self.image))
 
         self.root_uid = root_uid