Skip to content

Commit

Permalink
Fix bug with continuous SSH connections
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed May 5, 2023
1 parent 908ed91 commit 2a7e170
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pysqa/ext/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def __init__(self, config, directory="~/.queues", execute_command=execute_comman
self._ssh_port = config["ssh_port"]
else:
self._ssh_port = 22
self._ssh_continous_connection = "ssh_continous_connection" in config.keys()
if "ssh_continous_connection" in config.keys():
self._ssh_continous_connection = config["ssh_continous_connection"]
else:
self._ssh_continous_connection = False
self._ssh_connection = None
self._remote_flag = True

Expand Down

0 comments on commit 2a7e170

Please sign in to comment.