From 5d4de9d0ba8474a1deedf791b8315ac901d78370 Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 31 Aug 2019 14:43:35 +0700 Subject: [PATCH] Fix AttributeError: Cannot set attribute '%s'. Fixes #1646 --- gns3server/controller/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/node.py b/gns3server/controller/node.py index fb91c815..10f956fb 100644 --- a/gns3server/controller/node.py +++ b/gns3server/controller/node.py @@ -96,7 +96,7 @@ class Node: try: setattr(self, prop, kwargs[prop]) except AttributeError as e: - log.critical("Cannot set attribute '%s'".format(prop)) + log.critical("Cannot set attribute '{}'".format(prop)) raise e else: if prop not in self.CONTROLLER_ONLY_PROPERTIES and kwargs[prop] is not None and kwargs[prop] != "":