[sync] updated: config based; async loop; Documents adopted to new system
This commit is contained in:
1 parent
b0b518fd8c
commit
06965bebee
23 files changed
+1078
-346
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user