network: fix logging
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 16 May 2018 12:16:30 +0000 (14:16 +0200)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 16 May 2018 12:16:30 +0000 (14:16 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
src/nitsi/network.py

index d9d0924..2fe7c92 100644 (file)
@@ -14,7 +14,7 @@ class network():
             with open(network_xml_file) as fobj:
                 self.network_xml = fobj.read()
         except FileNotFoundError as error:
-            self.log.error("No such file: {}".format(vm_xml_file))
+            self.log.error("No such file: {}".format(network_xml_file))
 
     def define(self):
         self.network = self.con.networkDefineXML(self.network_xml)