fix: windows compat (using os.sep in paths)
This commit is contained in:
parent
d38535a35e
commit
84b11bf28b
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class ExportChannels(commands.Cog):
|
||||||
def export(self, ctx, channel, token):
|
def export(self, ctx, channel, token):
|
||||||
self.data_path = data_manager.cog_data_path(self)
|
self.data_path = data_manager.cog_data_path(self)
|
||||||
self.bundled_data_path = data_manager.bundled_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:
|
try:
|
||||||
os.mkdir(out)
|
os.mkdir(out)
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
|
|
Loading…
Reference in a new issue