index : logbot | |
Archlinux32 log bot | gitolite user |
summaryrefslogtreecommitdiff |
author | Chris Oliver <excid3@gmail.com> | 2010-02-28 15:48:42 -0600 |
---|---|---|
committer | Chris Oliver <excid3@gmail.com> | 2010-02-28 15:48:42 -0600 |
commit | 1a8adb1529c32e9861d2362ede2a220616c36d00 (patch) | |
tree | 0f98445b025a6916b3261dc1656191d07a479e30 | |
parent | bc3c1e7344ac978d5b3dec7fc0c90acc74f8019a (diff) |
-rw-r--r-- | logbot.py | 2 |
@@ -171,6 +171,8 @@ class LogBot(SingleServerIRCBot): if not os.path.exists(self.folder): # Create the log folder if we need to os.mkdir(self.folder) + + if not os.path.exists(index): create_html_file(index, "Logged Channels") append_to_index(index, index_header % "Logged Channels") shutil.copy2(self.stylesheet, self.folder) |