mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-25 16:32:47 +00:00
capture files for windows
This commit is contained in:
parent
f712b23492
commit
6bf020916c
|
|
@ -11,7 +11,7 @@ def get_filelist(xmlstring):
|
|||
for cnt in r.findall('s3:Contents', ns):
|
||||
key = cnt.find('s3:Key', ns)
|
||||
fname = key.text
|
||||
if fname.endswith('/') or not (fname.startswith('linux') or fname.startswith('mac')):
|
||||
if fname.endswith('/') or not (fname.startswith('linux') or fname.startswith('mac') or fname.startswith('windows')):
|
||||
continue
|
||||
|
||||
size = cnt.find('s3:Size', ns).text
|
||||
|
|
|
|||
Loading…
Reference in New Issue