← Back to team overview

gtg-contributors team mailing list archive

Re: tag-bg-color patch

 

It is about really old API calls.

If you replace lines 355 - 359 with this code:

t = self.req.get_tag(tag)
if t is None:
  pass # something bad has happened and it should be handled
tag_color = t.get_attribute('color')
if tag_color is None:
  tag_color = <default color>


That could should be equivalent. I haven't tested that code, writing that just top of my head.

Izidor


Follow ups

References