From 35b9f4fbe337f7796371b54af75778f27cc270d7 Mon Sep 17 00:00:00 2001 From: manetta Date: Thu, 6 May 2021 22:51:03 +0200 Subject: [PATCH] debugging the default stylesheet name and path --- LogBot/logbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 22b952c..ac65c30 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -171,8 +171,8 @@ class Logbot(Bot): if not os.path.exists(room_path): os.mkdir(room_path) - stylesheet_path = os.path.join("stylesheets", self.db[room]["stylesheet"], ".css") - stylesheet_dest_path = os.path.join(room_path,"stylesheet.css") + stylesheet_path = os.path.join("stylesheets", self.db[room]["stylesheet"] + ".css") + stylesheet_dest_path = os.path.join(room_path, "stylesheet.css") shutil.copy(stylesheet_path, stylesheet_dest_path) self.log.info(f"Created a folder for: { room }") self.log.info(f"Added stylesheet.css to: { room }")