parent
2287dd6165
commit
8706ac1479
1 changed files with 1 additions and 1 deletions
|
@ -3130,6 +3130,7 @@ def write(s, c=None):
|
|||
cwrite(f, stream=out, color=color)
|
||||
|
||||
def write_attribute(spec, attribute, color):
|
||||
current = spec
|
||||
if attribute.startswith('^'):
|
||||
attribute = attribute[1:]
|
||||
dep, attribute = attribute.split('.', 1)
|
||||
|
@ -3140,7 +3141,6 @@ def write_attribute(spec, attribute, color):
|
|||
'Format string attributes must be non-empty')
|
||||
attribute = attribute.lower()
|
||||
|
||||
current = spec
|
||||
sig = ''
|
||||
if attribute[0] in '@%/':
|
||||
# color sigils that are inside braces
|
||||
|
|
Loading…
Reference in a new issue