[Sync] Image updated

This commit is contained in:
Roman Timashev committed 2017-09-12 01:26:18 +03:00
1 parent 98f9de7d60
commit 1da289802c
2 files changed
+24 -27

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ class SyncPage(Sync):
def get_image_url_fn(page_id: str):
image_id = lambda filename: url_encode_text(
os.path.splitext(filename)[0]
os.path.splitext(os.path.basename(filename))[0]
)
def img_url_fn(file, size, ext):