summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-05-16 01:58:35 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-05-16 01:58:35 +0300
commite5d7ac23bf6c5052d2321db0759521eda578a16b (patch)
treea84eb3a274fa5cb5d69e88e631b22dbb81eea744
parent21af6e1defe36d0c445b5b924a5c34d584bff02a (diff)
fix
-rwxr-xr-xinverter-bot2
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)