fix: post_bottom in wip_raws
This commit is contained in:
parent
6671b03e95
commit
7a93bfccc3
|
@ -135,9 +135,6 @@ def wip_article(target):
|
|||
wip_raws(target) # Read file and convert to HTML
|
||||
wip_tabs() # make HTML tabulations
|
||||
|
||||
# Result (temp display)
|
||||
#print(article_bottom)
|
||||
|
||||
# Replace in DB hash_wip and date_wip
|
||||
tyto.replace_in_db(db.post_db, 'wip', db.hash_post)
|
||||
|
||||
|
@ -652,9 +649,9 @@ def wip_titles():
|
|||
def wip_raws(target):
|
||||
if db.uniq_raws == 0: return
|
||||
|
||||
global article_bottom
|
||||
global post_bottom
|
||||
|
||||
for i in range(1, db.xtuniq_raws + 1):
|
||||
for i in range(1, db.uniq_raws + 1):
|
||||
raw = 'db.raw_%s'%i
|
||||
raw_file = open(
|
||||
'%s%s'%(
|
||||
|
@ -671,9 +668,10 @@ def wip_raws(target):
|
|||
)
|
||||
|
||||
raw_html = '%s\n </code>\n</pre>'%(raw_html)
|
||||
article_bottom = article_bottom.replace(
|
||||
eval(raw)[0], raw_html
|
||||
)
|
||||
post_bottom = post_bottom.replace(eval(raw)[0],
|
||||
raw_html
|
||||
)
|
||||
|
||||
|
||||
#=======================#
|
||||
# Make HTML tabulations #
|
||||
|
|
Loading…
Reference in New Issue