aboutsummaryrefslogtreecommitdiffstats
path: root/bot/__init__.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-06-21 21:25:42 +0200
committerGravatar GitHub <[email protected]>2019-06-21 21:25:42 +0200
commit3eb2cf37d497ffc0cd2206c42e758f934e82e4e0 (patch)
tree26462af462c08e959fbf37c9ec47281e19a125fb /bot/__init__.py
parentCreate FUNDING.yml (diff)
parentChanged Path() arguments for readability (diff)
Merge pull request #227 from AvianAnalyst/master
Implemented .prideanthem command
Diffstat (limited to 'bot/__init__.py')
-rw-r--r--bot/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
index 861a27fe..9e0290a7 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -30,7 +30,7 @@ logging.Logger.trace = monkeypatch_trace
start_time = arrow.utcnow()
# Set up file logging
-log_dir = Path("bot", "log")
+log_dir = Path("bot/log")
log_file = log_dir / "hackbot.log"
os.makedirs(log_dir, exist_ok=True)