diff --git a/screenless/bureau/bureau.py b/screenless/bureau/bureau.py index c1db376..d2f79fa 100644 --- a/screenless/bureau/bureau.py +++ b/screenless/bureau/bureau.py @@ -357,15 +357,6 @@ class Bureau(object): ret = "" ret = "0" + ret self._recv.send_string(ret) - #except TypeError as err: - # print(err) - # print("invalid data for command '{}': {}".format(ref, data)) - # self._recv.send_unicode("Error. Invalid or missing data.") - except KeyError as err: - self.log.warning(str(err)) - self.log.warning("You are calling a command as an API or vice-versa.") - self._recv.send_unicode( - "Error. Command called as API or API as command.") else: self.log.warning("error! Command/API %s not found", ref) self._recv.send_unicode("Error! Command/API not found.")