From 1f2d363e91e441f2c5aae5dd7866da4d95872946 Mon Sep 17 00:00:00 2001 From: Paillat Date: Thu, 29 Feb 2024 17:24:13 +0100 Subject: [PATCH] Fix directory not opening --- .idea/discord.xml | 12 ++++++++++++ src/chore/GenerationContext.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .idea/discord.xml diff --git a/.idea/discord.xml b/.idea/discord.xml new file mode 100644 index 0000000..bca7d93 --- /dev/null +++ b/.idea/discord.xml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/src/chore/GenerationContext.py b/src/chore/GenerationContext.py index 44872d9..dbee3f8 100644 --- a/src/chore/GenerationContext.py +++ b/src/chore/GenerationContext.py @@ -193,6 +193,6 @@ class GenerationContext: self.progress(1, "Done!") if os.name == 'nt': - os.system(f"start {self.dir}") + os.system(f"start {os.path.abspath(self.dir)}") else: os.system(f"open {self.dir}")