Update corehandlers.py

fixes #162
This commit is contained in:
bharnden 2018-05-24 16:28:26 -07:00 committed by GitHub
parent 80fb71455d
commit ec04f457e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -958,7 +958,7 @@ class CoreHandler(SocketServer.BaseRequestHandler):
:return: reply messages :return: reply messages
""" """
if message.flags & MessageFlags.ADD.value: 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_name = message.get_tlv(FileTlvs.NAME.value)
file_type = message.get_tlv(FileTlvs.TYPE.value) file_type = message.get_tlv(FileTlvs.TYPE.value)
source_name = message.get_tlv(FileTlvs.SOURCE_NAME.value) source_name = message.get_tlv(FileTlvs.SOURCE_NAME.value)