[reportlab-users] Tablestyle.add() tuple unpack problem
Derek Basch
reportlab-users@reportlab.com
Mon, 23 Sep 2002 12:01:49 -0700 (PDT)
Hello all,
I have run into a small problem. I am using this code:
http://www.geocities.com/dbasch/PDFTables.txt
to test some Platypus table functions. I am trying to
use the TableStyle classes 'add' function to add some
additional styles after the the class instance is
declared, (line 147).
According to the User Guide I have passed the proper
structure to the add function:
LIST_STYLE.add([('BACKGROUND', (0,0), (-1,0),
colors.Color(0,0.7,0.7))])
Also, I can create a TableStyle instance using the
interactive interpretor and the 'add' and
'getCommands' functions work just fine. Can anyone
tell me what im doing wrong??
...oh yeah, heres the traceback:
http://www.geocities.com/dbasch/traceback.txt
Thanks everyone,
Derek Basch
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com