Browse Source

in response to issue #15: adding reversed order to the pages

master
manetta 4 years ago
parent
commit
dee595ad2b
  1. 3
      LogBot/logbot.py

3
LogBot/logbot.py

@ -167,7 +167,7 @@ class Logbot(Bot):
if not os.path.exists(room_path): if not os.path.exists(room_path):
os.mkdir(room_path) os.mkdir(room_path)
stylesheet_path = os.path.join("stylesheets","linear.css") # default stylesheet stylesheet_path = os.path.join("stylesheets","timeline.css") # default stylesheet
stylesheet_dest_path = os.path.join(room_path,"stylesheet.css") stylesheet_dest_path = os.path.join(room_path,"stylesheet.css")
shutil.copy(stylesheet_path, stylesheet_dest_path) shutil.copy(stylesheet_path, stylesheet_dest_path)
self.log.info(f"Created a folder for: { room }") self.log.info(f"Created a folder for: { room }")
@ -280,5 +280,4 @@ class Logbot(Bot):
# Reply to the groupchat # Reply to the groupchat
self.reply(reply, room=message.room) self.reply(reply, room=message.room)
Logbot() Logbot()

Loading…
Cancel
Save