py27 compat fix

This commit is contained in:
Manuel Barkhau 2019-02-21 15:48:55 +01:00
parent e3bdb4956b
commit 37120111b7

View file

@ -55,7 +55,7 @@ class Project:
def __enter__(self): def __enter__(self):
self.prev_cwd = os.getcwd() self.prev_cwd = os.getcwd()
os.chdir(self.dir) os.chdir(str(self.dir))
return self return self
def __exit__(self, *exc): def __exit__(self, *exc):