Skip to content

Commit

Permalink
description postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrj committed Jan 23, 2024
1 parent f5c8761 commit 2ffdee3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1524,11 +1524,14 @@ def get_wii_files_dict(self,import_filenames):
mtime=0

#scan_like_data
sld_tuple = tuple([size,is_dir,is_file,is_symlink,is_bind,has_files,mtime,item['description']])

if description:=item['description']:
description = description.lstrip('<![CDATA[').rstrip(']]>')
cd_set_add(description)
cd_set_per_disk[disk_name].add(description)
sld_tuple = tuple([size,is_dir,is_file,is_symlink,is_bind,has_files,mtime,description])
else:
sld_tuple = tuple([size,is_dir,is_file,is_symlink,is_bind,has_files,mtime,''])

#print('description',item['description'])
############################################################
Expand Down

0 comments on commit 2ffdee3

Please sign in to comment.