From dbf173560d538024d80502a454b6240041d95386 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 10 Aug 2023 23:15:49 -0400 Subject: [PATCH] fix: windows compat --- exportchannels/exportchannels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exportchannels/exportchannels.py b/exportchannels/exportchannels.py index 5d10c96..3cf7cf3 100644 --- a/exportchannels/exportchannels.py +++ b/exportchannels/exportchannels.py @@ -30,7 +30,7 @@ class ExportChannels(commands.Cog): 'DiscordChatExporter.Cli.dll', 'export', '--format', 'HtmlDark', - '--output', f'/{out}/%G (%g)/%C (%c)/Export.html', + '--output', f'{os.sep}{out}{os.sep}%G (%g){os.sep}%C (%c){os.sep}Export.html', '--token', f'{token}', '--channel', {channel}, '--media', @@ -43,7 +43,7 @@ class ExportChannels(commands.Cog): 'DiscordChatExporter.Cli.dll', 'export', '--format', 'Json', - '--output', f'/{out}/%G (%g)/%C (%c)/DCE-f.json', + '--output', f'{os.sep}{out}{os.sep}%G (%g){os.sep}%C (%c){os.sep}DCE-f.json', '--token', f'{token}', '--channel', {channels}, '--reuse_media',