MLECO-2235: Fix documentation

Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
Change-Id: If8d6bf60cd4961be4c29f46ea75422b093185b04
diff --git a/download_dependencies.py b/download_dependencies.py
index 9d2e6fa..7219203 100755
--- a/download_dependencies.py
+++ b/download_dependencies.py
@@ -81,7 +81,7 @@
 
 
 if __name__ == '__main__':
-    logging.basicConfig(filename='download_dependencies.log', level=logging.DEBUG)
+    logging.basicConfig(filename='download_dependencies.log', level=logging.DEBUG, filemode='w')
     logging.getLogger().addHandler(logging.StreamHandler(sys.stdout))
 
     download_dir = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "dependencies"))