From 84b11bf28b545e05978d29cf9da7e49752b28c69 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 10 Aug 2023 17:09:17 -0400 Subject: [PATCH] fix: windows compat (using os.sep in paths) --- exportchannels/exportchannels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exportchannels/exportchannels.py b/exportchannels/exportchannels.py index c52a259..8eac167 100644 --- a/exportchannels/exportchannels.py +++ b/exportchannels/exportchannels.py @@ -18,7 +18,7 @@ class ExportChannels(commands.Cog): def export(self, ctx, channel, token): self.data_path = data_manager.cog_data_path(self) self.bundled_data_path = data_manager.bundled_data_path(self) - out = f'{self.data_path}/Exported Channels' + out = f'{self.data_path}{os.sep}Exported Channels' try: os.mkdir(out) except FileExistsError: @@ -67,7 +67,7 @@ class ExportChannels(commands.Cog): await self.config.bot_token.set({token}) await ctx.send(content="Token set!") await ctx.delete() - + @exportset.command() @checks.is_owner() async def checkoutputpath(self, ctx):