[sync] post updated
This commit is contained in:
1 parent
3217a27bb8
commit
10dd3d6316
7 files changed
+141
-150
No files matched your search
@@ -10,14 +10,6 @@ from sync.image import sync_image
|
||||
from utils.fn import lmap, combine
|
||||
|
||||
|
||||
def list_images(dir):
|
||||
image_types = ['*.jpg', '*.JPG', '*.png', '*.PNG']
|
||||
return combine(map(
|
||||
lambda type: glob(os.path.join(dir, type)),
|
||||
image_types
|
||||
))
|
||||
|
||||
|
||||
def create_date(date_str, date_formats=None):
|
||||
"""
|
||||
2016
|
||||
|
||||
Reference in new issue
Block a user