diff options
-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 |