* src/Spell.py: give more intelligent error message if spelling

checker is not found.
* src/plugins/DescendChart.py: fixed type detection to handle both
unicode and str.


svn: r5297
This commit is contained in:
Don Allingham
2005-10-10 03:30:07 +00:00
parent 5993b7590f
commit 88f4a669de
4 changed files with 6 additions and 3 deletions

View File

@@ -331,7 +331,7 @@ class DescendChart(Report.Report):
phys_x = 0
for x in range(startx,stopx):
value = self.genchart.get_xy(x,y)
if type(value) == str:
if type(value) == str or type(value) == unicode:
text = '\n'.join(self.text[(x,y)])
xbegin = phys_x*self.delta
yend = phys_y*bh+self.offset