Skip to content

Commit eb82189

Browse files
committed
rm comments
1 parent f903281 commit eb82189

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/opengeodeweb_back/utils_functions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,15 @@ def generate_native_viewable_and_light_viewable(
153153
name = data.name()
154154
object_type = geode_functions.get_object_type(geode_object)
155155

156-
additional_files_copied = [] # List to store files that are successfully copied
156+
additional_files_copied = []
157157
if original_filename:
158158
additional = geode_functions.additional_files(geode_object, original_filename)
159159
for additional_file in additional.mandatory_files + additional.optional_files:
160160
if not additional_file.is_missing:
161-
# Construct the source path for the additional file
162161
source_path = os.path.join(
163162
os.path.dirname(original_filename), additional_file.filename
164163
)
165164
if os.path.exists(source_path):
166-
# Construct the destination path and ensure the directory exists
167165
dest_path = os.path.join(data_path, additional_file.filename)
168166
os.makedirs(os.path.dirname(dest_path), exist_ok=True)
169167
shutil.copy2(source_path, dest_path)

0 commit comments

Comments
 (0)