From 7a09cc7570c43128933aea680bf702077dcf9352 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 20 May 2009 17:39:34 +0000 Subject: removed leading #s from labels --- (limited to 'taexportlogo.py') 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 -- cgit v0.9.1