You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @webo111 this fork is no longer actively maintained. Feel free to give my fork a try. We renamed it to be able to make pypi releases, but it is the same code base: mmpy_bot
Hi @webo111 this fork is no longer actively maintained. Feel free to give my fork a try. We renamed it to be able to make pypi releases, but it is the same code base: mmpy_bot
when login success
run here.
def login(self, name, email, password):
props = {'name': name, 'login_id': email, 'password': password}
p = requests.post(
self.url + '/users/login', data=json.dumps(props),
verify=self.ssl_verify
)
if p.status_code == 200:
self.token = p.headers["Token"]
self.load_initial_data()
return json.loads(p.text)
else:
p.raise_for_status()
It was wrong:
self.team_id = self.initial['teams'][0]['id'] KeyError: 'teams'
My version of mattermost is 5.8.0 and mattermost_bot of version is 1.0.20
I need you help .thanks very match.
The text was updated successfully, but these errors were encountered: