diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-05-20 17:39:34 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-05-20 17:39:34 (GMT) |
commit | 7a09cc7570c43128933aea680bf702077dcf9352 (patch) | |
tree | 0fd16a08242a67ee39a70870bc96ba5428a51119 | |
parent | ad8696b64e93488e3b87d72797bb26570002f059 (diff) |
removed leading #s from labels
-rw-r--r-- | taexportlogo.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/taexportlogo.py b/taexportlogo.py index 4031c2c..f75dcfc 100644 --- a/taexportlogo.py +++ b/taexportlogo.py @@ -253,10 +253,10 @@ tasetshade :shade \r" this_stack += re.sub("\s"," \"",d[2:]) this_stack += "\r" elif d == "write": - this_stack == "label" + this_stack += "label" write = 1 elif d == 'show': - this_stack == "label" + this_stack += "label" show = 1 elif d == "container": if show == 1: @@ -266,6 +266,8 @@ tasetshade :shade \r" minus = 1 elif d == "hideblocks": this_stack += " " + elif show == 1 and d[0:2] == "#s": + this_stack += d[2:] # need to handle templates somehow else: this_stack += d |