From ec04f457e03c4ae86f51f08f87c0ce5467e882f7 Mon Sep 17 00:00:00 2001 From: bharnden <32446120+bharnden@users.noreply.github.com> Date: Thu, 24 May 2018 16:28:26 -0700 Subject: [PATCH] Update corehandlers.py fixes #162 --- daemon/core/corehandlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/corehandlers.py b/daemon/core/corehandlers.py index 362f4d54..0d41d095 100644 --- a/daemon/core/corehandlers.py +++ b/daemon/core/corehandlers.py @@ -958,7 +958,7 @@ class CoreHandler(SocketServer.BaseRequestHandler): :return: reply messages """ if message.flags & MessageFlags.ADD.value: - node_num = message.get_tlv(FileTlvs.NUMBER.value) + node_num = message.get_tlv(FileTlvs.NODE.value) file_name = message.get_tlv(FileTlvs.NAME.value) file_type = message.get_tlv(FileTlvs.TYPE.value) source_name = message.get_tlv(FileTlvs.SOURCE_NAME.value)