diff options
author | Andi_G <andigros72@googlemail.com> | 2011-08-21 02:46:37 (GMT) |
---|---|---|
committer | Andi_G <andigros72@googlemail.com> | 2011-08-21 02:46:37 (GMT) |
commit | 253b35f3f03536737479278ad7bef8da11f321bd (patch) | |
tree | cc00d9706432bb60e15d7462e85231df314cf03d | |
parent | 3d7729b1f74359da2856cc4b1188798d34d1e059 (diff) |
bug fix for deletion of annotations
-rw-r--r-- | readdb.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -388,6 +388,8 @@ class AnnotationManager: row = rows.fetchone() self._to_delete.append(row[0]) _logger.debug(str('schedule annotation %s for deletion' % str(row))) + if self._userid == '': + self._userid = self.get_userid_for_username( self.get_user_string( user ) ) # We delete only the locally made annotation t = (self._filehash, annotation_id, self._userid) _logger.debug(str('t for deletion is %s' % str(t))) |