Skip to content

Commit

Permalink
Fix current_service_class method
Browse files Browse the repository at this point in the history
  • Loading branch information
Malikbadmus committed Jun 24, 2024
1 parent 85b9c04 commit 45e4f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ersilia/core/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def current_identifier(self):

def current_service_class(self):
data = self.get()
if data is None:
if data is None or data.get("service_class") is None:
return None
else:
return data["service_class"]
Expand Down

0 comments on commit 45e4f04

Please sign in to comment.