mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-06-30 23:12:45 +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…
x
Reference in New Issue
Block a user