Skip to content

Commit

Permalink
improve decoding and increase timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Dhandre <[email protected]>
  • Loading branch information
digitronik committed Aug 6, 2019
1 parent 33aa1e9 commit ade5cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miqbox/ap.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def run_commands(self, commands, autoreturn=True, timeout=10):
self.channel = self.client.invoke_shell()
for command in commands:
if command == "w":
timeout = 120
timeout = 300
self.channel.settimeout(timeout)
if autoreturn:
command = command + "\n"
Expand Down

0 comments on commit ade5cc5

Please sign in to comment.