diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index b26d82a..f8e9705 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -366,11 +366,18 @@ def wip_links(): def wip_abbrs(): if db.uniq_abbrs == 0: return + abbr_src = '%s' for i in range(1, db.uniq_abbrs + 1): abbr = 'db.abbr_%s'%i + try: abbr_show = eval(abbr)[2] + except: abbr_show = eval(abbr)[0] + abbr_html = abbr_src%(eval(abbr)[1], + abbr_show + ) + replace_in_post(eval(abbr)[0], - eval(abbr)[1] - ) + abbr_html + ) #---------------------------------------#