Skip to content

Commit 2a3f28d

Browse files
authored
Sets _user_id to be None by default (#67)
Closes #59 Would crash before because it would check if `self._user_id` had been set to something other than `None` before it was every initialized.
1 parent a586a7b commit 2a3f28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pardner/services/groupme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class GroupMeTransferService(BaseTransferService):
3131
_authorization_url = 'https://oauth.groupme.com/oauth/authorize'
3232
_base_url = 'https://api.groupme.com/v3/'
3333
_token_url = 'https://oauth.groupme.com/oauth/authorize'
34-
_user_id: str | None
34+
_user_id: str | None = None
3535

3636
def __init__(
3737
self, client_id: str, redirect_uri: str, verticals: set[Vertical] = set()

0 commit comments

Comments
 (0)