Skip to content

Commit 953f85d

Browse files
committed
Make it a property
1 parent da2e84d commit 953f85d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

elmax/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ async def disconnect(self):
7272
if self.authorized:
7373
self.authorized = False
7474

75-
async def is_authenticated(self):
75+
@property
76+
def is_authenticated(self):
7677
"""Get the state of the authentication."""
7778
return self.authorized
7879

0 commit comments

Comments
 (0)