comparison data/plugin/action/submit_bbb_start_meeting.py @ 614:81cb72cfddac

bbb: don't crash because of wrong salt
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 15 Aug 2012 13:36:59 +0200
parents 8c908e614131
children 6d10150ff905
comparison
equal deleted inserted replaced
613:23d688c016bf 614:81cb72cfddac
78 try: 78 try:
79 session.create_meeting() 79 session.create_meeting()
80 except TypeError: 80 except TypeError:
81 recreate = False 81 recreate = False
82 msg, state = ("Usually the meeting is running and you tried to change some important parameters. Stop the Meeting beforehand.", "error") 82 msg, state = ("Usually the meeting is running and you tried to change some important parameters. Stop the Meeting beforehand.", "error")
83 # XXX there is an AttributeError if the SALT is wrong.
84 # catching the AttributeError seems no solution for a correct SALT.
83 85
84 except KeyError: 86 except KeyError:
85 msg, state = ("Usually not the right parameters or syntax used! Check the page content. ", "error") 87 msg, state = ("Usually not the right parameters or syntax used! Check the page content. ", "error")
86 recreate = False 88 recreate = False
87 89