forked from varia/bots
in response to issue #15: adding reversed order to the pages
This commit is contained in:
parent
f759827000
commit
dee595ad2b
@ -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…
Reference in New Issue
Block a user