From eb02eadb9f337a929511af6a19ed96a5685738a6 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Wed, 17 Jul 2019 09:34:17 +0200 Subject: [PATCH] Fix TempWorkDir not actually working --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8e2c30b3..b2d532a0 100755 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ class TempWorkDir: self.original = None def __enter__(self): - self.original = Path('.') - chdir(str(Path(__file__).parent)) + self.original = Path('.').resolve() + chdir(str(Path(__file__).parent.resolve())) return self def __exit__(self, *args):