From 1638748a21c91a3af020bc292c92fb57d9429731 Mon Sep 17 00:00:00 2001 From: manetta Date: Wed, 17 Feb 2021 17:16:09 +0100 Subject: [PATCH] missing comma --- LogBot/logbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 003b0b2..d880b87 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -48,7 +48,7 @@ def download(self, message): parsed_url = urlparse(message.url) filename = os.path.basename(parsed_url.path).replace(' ','_').replace('%20','_') # safe url's print('as the file: ', filename) - path = os.path.join(self.output, message.room media_type) + path = os.path.join(self.output, message.room, media_type) if not os.path.isdir(path): os.mkdir(path) file_path = os.path.join(path, filename)