Fix API.error()

This commit is contained in:
Juhani Krekelä 2017-12-10 15:46:53 +02:00
parent 7ce9b45166
commit 72056025fb
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class API:
def error(self, message):
"""Log an error"""
self.serverthread_object.logging_channel.send((constants.logmessage_types.internal, constants.internal_submessage_types.error, message))
self.serverthread_object.logging_channel.send((logmessage_types.internal, internal_submessage_types.error, message))
# ServerThread(server, control_socket)