Updated logger setup

This commit is contained in:
Maxim Stewart 2020-05-07 19:47:53 -05:00
parent 6988ce3810
commit fd1edbe8b6
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ class Logger:
log.addHandler(ch)
if createFile:
folder = "core/logs"
file = folder + "/twitter-bot.log"
folder = "logs"
file = folder + "/application.log"
if not os.path.exists(folder):
os.mkdir(folder)