diff --git a/cogs/utils/logger.py b/cogs/utils/logger.py index a34d12c..1d13db2 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.mkdir(self.log_location) + os.mkdirs(self.log_location) print(f"Creating logging directory: {self.log_location}") if self.log_level: print(os.path.abspath(self.log_location))