From: Jonatan Schlag Date: Thu, 19 Apr 2018 11:00:19 +0000 (+0200) Subject: Fix logging if we do not have an image file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd54225165529368ce10fa34208cdd8798bcf1c8;p=nitsi.git Fix logging if we do not have an image file Signed-off-by: Jonatan Schlag --- diff --git a/test.py b/test.py index 3787655..d2a6d97 100755 --- 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