Browse Source

printing room_path info at setup

master
manetta 10 months ago
parent
commit
7f3fd2c375
  1. 3
      LogBot/logbot.py

3
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.room_path, message.room, media_type)
path = os.path.join(self.room_path, media_type)
if not os.path.isdir(path):
os.mkdir(path)
file_path = os.path.join(path, filename)
@ -114,6 +114,7 @@ logbot @uptime: To check how long @logbot has been around
print('INFO ', f'Copied stylesheet.css to: { room }')
print('INFO ', f'Output folder is set to: { self.output }')
print('INFO ', f'Room path is set to: { self.room_path }')
def group(self, message):

Loading…
Cancel
Save