diff options
| author | 2019-06-20 03:06:15 -0400 | |
|---|---|---|
| committer | 2019-06-20 03:06:15 -0400 | |
| commit | 6ccaa6400f1e7683598422c3a80ee2eb8ad108ca (patch) | |
| tree | 26462af462c08e959fbf37c9ec47281e19a125fb /bot/__init__.py | |
| parent | Clarified doc strings and tidied code per requests (diff) | |
Changed Path() arguments for readability
Diffstat (limited to 'bot/__init__.py')
| -rw-r--r-- | bot/__init__.py | 2 |
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) |