Skip to content

Commit

Permalink
move session_dict to end
Browse files Browse the repository at this point in the history
  • Loading branch information
chStaiger authored Jun 26, 2024
1 parent 1d0a42e commit 2f1b735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibridgesgui/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def login_function(self):
else:
session = Session(irods_env=env_file, password=self.password_field.text())
self.logger.debug("Login with %s and password from prompt.", env_file)
self.session_dict["session"] = session
self.logger.info(
"Logged in as %s to %s; working coll %s",
session.username,
Expand Down Expand Up @@ -107,4 +106,5 @@ def login_function(self):
self.error_label.setText(f'"irods_home": "{session.home}" does not exist.')
self.logger.error("irods_home does not exist.")
else:
self.session_dict["session"] = session
self.close()

0 comments on commit 2f1b735

Please sign in to comment.