From 19d38abce602504b17a98f04c9e080e5b384943d Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 10 May 2019 19:18:52 -0300 Subject: [PATCH] Tools: small fix in update script --- src/Tools/updatefromcrowdin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/updatefromcrowdin.py b/src/Tools/updatefromcrowdin.py index 02c75ba80b..d74246935e 100755 --- a/src/Tools/updatefromcrowdin.py +++ b/src/Tools/updatefromcrowdin.py @@ -234,12 +234,12 @@ if __name__ == "__main__": elif inputzip: tempfolder = tempfile.mkdtemp() print("creating temp folder " + tempfolder) - os.chdir(tempfolder) inputzip=os.path.realpath(inputzip) if not os.path.exists(inputzip): print("ERROR: " + inputzip + " not found") sys.exit() shutil.copy(inputzip,tempfolder) + os.chdir(tempfolder) zfile=zipfile.ZipFile("freecad.zip") print("extracting freecad.zip...") zfile.extractall()