mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 12:42:50 +00:00
commit
1b37eddbb3
@ -11,7 +11,7 @@ def get_filelist(xmlstring):
|
|||||||
for cnt in r.findall('s3:Contents', ns):
|
for cnt in r.findall('s3:Contents', ns):
|
||||||
key = cnt.find('s3:Key', ns)
|
key = cnt.find('s3:Key', ns)
|
||||||
fname = key.text
|
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
|
continue
|
||||||
|
|
||||||
size = cnt.find('s3:Size', ns).text
|
size = cnt.find('s3:Size', ns).text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user