[sync] updated: config based; async loop; Documents adopted to new system

This commit is contained in:
Roman Timashev committed 2017-09-10 22:12:09 +03:00
1 parent b0b518fd8c
commit 06965bebee
23 files changed
+1078 -346

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
from db import db
from settings import image_name_format, image_base_url
from settings import image_name_format, image_url_base
from utils.fn import lmap
@@ -62,5 +62,5 @@ def sync_image(record):
def image_create_url(file):
url = image_base_url + image_name_format
url = image_url_base + image_name_format
return url.format(file)