Skip to content

Commit

Permalink
Fix: make sure SshComputerSetup.on_setup_ssh() can be called by a w…
Browse files Browse the repository at this point in the history
…idget. (#287)
  • Loading branch information
yakutovicha committed Jan 25, 2022
1 parent 33039de commit ddc6415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiidalab_widgets_base/computational_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def _write_ssh_config(self, private_key_abs_fname=None):
file.write(f" IdentityFile {private_key_abs_fname}\n")
file.write(" ServerAliveInterval 5\n")

def on_setup_ssh(self, on_success=None):
def on_setup_ssh(self, _=None, on_success=None):
with self.setup_ssh_out:
clear_output()

Expand Down

0 comments on commit ddc6415

Please sign in to comment.