From 35d7b408492976e5763c26b9eecb0befb9e181d9 Mon Sep 17 00:00:00 2001
From: Impact <pascal.mouquet@ird.fr>
Date: Tue, 17 Nov 2020 12:26:00 +0400
Subject: [PATCH] some changes

---
 sen2chain/library.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sen2chain/library.py b/sen2chain/library.py
index db3795a..4aaaf15 100644
--- a/sen2chain/library.py
+++ b/sen2chain/library.py
@@ -122,7 +122,7 @@ class Library:
             pass
     
     def archive_l2a(self,
-                    archive_list: list = [],
+                    tile_list: list = [],
                     size_only: bool = False,
                     ):
                         
@@ -130,14 +130,14 @@ class Library:
         Function to archive l2a products from library folder to l2a_archive_path.
         Calls the archive_l2a function from Tile class, see there for details.
         
-        :param archive_list: list of tiles to archive. If not provided, will process all l2a tiles.
+        :param tile_list: list of tiles to archive. If not provided, will process all l2a tiles.
         :param size_only: if True, only gives sizes
         """        
         
         total_size = 0 
-        if not archive_list:
-            archive_list = self.l2a
-        for t in archive_list:
+        if not tile_list:
+            tile_list = self.l2a
+        for t in tile_list:
             try:
                 logger.info(t)
                 til = Tile(t)
-- 
GitLab