From aef3e90762ff5f8ae8240ff15c02fdd81f0e74bc Mon Sep 17 00:00:00 2001
From: Corentin Vande Kerckhove <corentinvdk@gmail.com>
Date: Fri, 18 Mar 2022 18:43:19 +0100
Subject: [PATCH] move everything to absolute path

---
 unzip_data.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/unzip_data.py b/unzip_data.py
index e39fd3e..09ac74c 100644
--- a/unzip_data.py
+++ b/unzip_data.py
@@ -13,11 +13,11 @@ def unzip_and_remove(zip_filename):
             zip_filename,
         )
     files = zf.ZipFile(zip_filename, 'r')
-    files.extractall('.')
+    files.extractall('mlsmm2156')
     files.close()
     os.remove(zip_filename)
-    shutil.rmtree('__MACOSX')  # remove macosx data for Mac users
+    shutil.rmtree('mlsmm2156/__MACOSX')  # remove macosx data for Mac users
 
 
 if __name__ == "__main__":
-    unzip_and_remove("data.zip")
\ No newline at end of file
+    unzip_and_remove("mlsmm2156/data.zip")
-- 
GitLab