Comment 1 for bug 107888

Revision history for this message
Pete Savage (petesavage) wrote :

The below diff fixes the issue, I'm hoping this is released soon.

--- student-control-panel 2007-04-20 06:49:37.000000000 +0100
+++ student-control-panel-new 2007-04-20 06:49:24.000000000 +0100
@@ -438,7 +438,7 @@

         if selection.count_selected_rows():
             user,host = list[paths[0][0]][1].split('\n')
- stripped_user = user.lstrip('<b>').rstrip('</b>')
+ stripped_user = user.replace('<b>','').replace('</b>','')
      self.cur_user = stripped_user

             userlabel.set_markup('<span font_desc="Sans Italic 18" weight="bold">'+user+'</span>')