]> git.ipfire.org Git - nitsi.git/blobdiff - test.py
Fix logging if we do not have an image file
[nitsi.git] / 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