Browse Source

missing comma

master
manetta 3 years ago
parent
commit
1638748a21
  1. 2
      LogBot/logbot.py

2
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)

Loading…
Cancel
Save