wip: 'again'. Fix hash_wip from root_uri + check if hash_wip in DB

This commit is contained in:
Cyrille L 2023-01-06 16:37:09 +01:00
parent d008f6e78f
commit 2743cc8c55
1 changed files with 3 additions and 1 deletions

View File

@ -38,8 +38,10 @@ def manage_wip(target, option):
# Load DB
post_db = '%s%s'%(domain_db, post_db)
exec(open(post_db).read(),globals())
if not hash_wip: continue
print("->", root_uri)
hash_post = tyto.get_filesum(post_db, True) # From content file
hash_post = tyto.get_filesum(root_uri, True) # From content file
wip_article(root_uri)
return