mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Fix TempWorkDir not actually working
This commit is contained in:
parent
ec093f90e7
commit
eb02eadb9f
4
setup.py
4
setup.py
|
@ -30,8 +30,8 @@ class TempWorkDir:
|
||||||
self.original = None
|
self.original = None
|
||||||
|
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
self.original = Path('.')
|
self.original = Path('.').resolve()
|
||||||
chdir(str(Path(__file__).parent))
|
chdir(str(Path(__file__).parent.resolve()))
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def __exit__(self, *args):
|
def __exit__(self, *args):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user