diff options
author | Richard Darst <rkd@zgib.net> | 2009-08-06 21:29:32 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-08-06 21:29:32 (GMT) |
commit | a1c9e22fc87f1f36131cbdc0c91eeef343c4f7d8 (patch) | |
tree | 69593dec960b3ed8d11270daa31ea0f34ae1d23c | |
parent | 48940a3200faae1f8947f2ea5be0f85ac6379fb1 (diff) |
Set a default self.starttime to avoid some problems
- This only helps to avoid problems if they come up during the initial
#startmeeting command of an real-time meeting.
darcs-hash:20090806212932-82ea9-0b63f2adabcfbfcf3f22dadf0f98e9bb991eb50b.gz
-rw-r--r-- | meeting.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -416,6 +416,12 @@ class Meeting(MeetingCommands, object): self.attendees = { } self.chairs = { } self._writeRawLog = writeRawLog + if writeRawLog: + # This will just get reset when the #startmeeting command + # runs, but I'm setting a default here to avoid a certain + # class of problems where an exception is raised during + # initialization. + self.starttime = time.asctime() self._meetingTopic = None self._meetingname = "" self._meetingIsOver = False |