diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 01:58:35 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 01:58:35 +0300 |
commit | e5d7ac23bf6c5052d2321db0759521eda578a16b (patch) | |
tree | a84eb3a274fa5cb5d69e88e631b22dbb81eea744 | |
parent | 21af6e1defe36d0c445b5b924a5c34d584bff02a (diff) |
fix
-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) |