diff options
-rwxr-xr-x | inverter-bot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inverter-bot b/inverter-bot index bc2b6d7..be9fb82 100755 --- a/inverter-bot +++ b/inverter-bot @@ -35,7 +35,7 @@ class InverterClientWrapper: self._inverter = InverterClient(host=self._host, port=self._port) self._inverter.connect() - def exec(self, command: str, arguments: tuple, format=Format.JSON): + def exec(self, command: str, arguments: tuple = (), format=Format.JSON): try: self._inverter.format(format) return self._inverter.exec(command, arguments) |