Hi all,
I have a little problem.
def tekst_in(self, tag):
tekst_tag={'p': '\t\t<p>\n\n\t\ t</p>\n', 'br': '<br />'}
print tekst_tag[tag]
works fine in my class
But...
def tekst_in(self, tag):
tekst_tag={'p': '\t\t<p>\n\n\t\ t</p>\n', 'br': '<br />'}
self.tekst.inse rt(INSERT, tekst_tag[tag])
Then I get a AttributeError. ..
I seached the net, can come op white a answer.
So I hope You all can!
Bennie,
I have a little problem.
def tekst_in(self, tag):
tekst_tag={'p': '\t\t<p>\n\n\t\ t</p>\n', 'br': '<br />'}
print tekst_tag[tag]
works fine in my class
But...
def tekst_in(self, tag):
tekst_tag={'p': '\t\t<p>\n\n\t\ t</p>\n', 'br': '<br />'}
self.tekst.inse rt(INSERT, tekst_tag[tag])
Then I get a AttributeError. ..
I seached the net, can come op white a answer.
So I hope You all can!
Bennie,
Comment