| |
@@ -34,6 +34,8 @@
|
| |
import re
|
| |
import stat
|
| |
|
| |
+ from kitchen.text.converters import to_bytes
|
| |
+
|
| |
import writers
|
| |
import items
|
| |
reload(writers)
|
| |
@@ -148,8 +150,8 @@
|
| |
meetingname = self.M._meetingname.replace('/', '')
|
| |
else:
|
| |
meetingname = channel
|
| |
- path = pattern%locals()
|
| |
- path = time.strftime(path, self.M.starttime)
|
| |
+ path = pattern % locals()
|
| |
+ path = time.strftime(to_bytes(path), self.M.starttime)
|
| |
# If we want the URL name, append URL prefix and return
|
| |
if url:
|
| |
return os.path.join(self.logUrlPrefix, path)
|
| |
@@ -261,6 +263,7 @@
|
| |
self.reply(messageline)
|
| |
if line.strip():
|
| |
self.do_meetingtopic(nick=nick, line=line, time_=time_, **kwargs)
|
| |
+ self.do_meetingname(nick=nick, line=line, time_=time_, **kwargs)
|
| |
def do_endmeeting(self, nick, time_, **kwargs):
|
| |
"""End the meeting."""
|
| |
if not self.isChair(nick): return
|
| |
@@ -408,7 +411,7 @@
|
| |
commands = [ "#"+x[3:] for x in dir(self) if x[:3]=="do_" ]
|
| |
commands.sort()
|
| |
self.reply("Available commands: "+(" ".join(commands)))
|
| |
-
|
| |
+
|
| |
|
| |
|
| |
class Meeting(MeetingCommands, object):
|
| |
This forces a meetingname for every meeting. This helps make sure things are organized instead of random for looking for meeting output in the same place.