|
@@ -43,7 +43,8 @@ def ossLoad(value, prefix, marker=''):
|
|
|
for v in data.object_list:
|
|
|
pics.append((v.key, v.last_modified))
|
|
|
for v in pics[-10:]:
|
|
|
- savePic(value, v[0], v[1])
|
|
|
+ if v[0]:
|
|
|
+ savePic(value, v[0], v[1])
|
|
|
#oss2.resumable_download(bucket, 'remote.txt', 'local.txt')
|
|
|
|
|
|
def savePic(value, file, cur):
|