Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-08-06 21:29:32 (GMT)
committer Richard Darst <rkd@zgib.net>2009-08-06 21:29:32 (GMT)
commita1c9e22fc87f1f36131cbdc0c91eeef343c4f7d8 (patch)
tree69593dec960b3ed8d11270daa31ea0f34ae1d23c
parent48940a3200faae1f8947f2ea5be0f85ac6379fb1 (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.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meeting.py b/meeting.py
index 576df8a..7a5fc63 100644
--- a/meeting.py
+++ b/meeting.py
@@ -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