adding foldername to baseurl

This commit is contained in:
manetta 2022-02-18 17:19:33 +01:00
parent f711e6c0de
commit 85e4c972d6

View File

@ -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 }")