From a87e3e014095d97b33da44ea6744bbf45cef9bc3 Mon Sep 17 00:00:00 2001 From: Ev-1 <33662061+Ev-1@users.noreply.github.com> Date: Fri, 12 Apr 2019 01:12:09 +0200 Subject: [PATCH] Am idiot, move on. --- cogs/utils/logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utils/logger.py b/cogs/utils/logger.py index 1d13db2..dffbece 100644 --- a/cogs/utils/logger.py +++ b/cogs/utils/logger.py @@ -20,7 +20,7 @@ def __init__(self, debug=None, data_location=None): if self.log_location is not None: if not os.path.isdir(self.log_location): - os.mkdirs(self.log_location) + os.makedirs(self.log_location) print(f"Creating logging directory: {self.log_location}") if self.log_level: print(os.path.abspath(self.log_location))