Browse Source

adding foldername to baseurl

master
manetta 3 years ago
parent
commit
85e4c972d6
  1. 2
      LogBot/logbot.py

2
LogBot/logbot.py

@ -111,7 +111,7 @@ class Logbot(Bot):
title=self.db[message.room]["title"], title=self.db[message.room]["title"],
db=self.db[message.room], db=self.db[message.room],
date=date.strftime("%a, %d %b %Y %H:%M:%S +0100"), # timezone is hardcoded now date=date.strftime("%a, %d %b %Y %H:%M:%S +0100"), # timezone is hardcoded now
baseurl=self.baseurl log_folder_url=os.path.join(self.baseurl, folder_name),
) )
out.write(feed) out.write(feed)
self.log.info(f"writing to: { feed_path }") self.log.info(f"writing to: { feed_path }")

Loading…
Cancel
Save