remove unnecessary variable registered in self

This commit is contained in:
Vincent Hanquez 2005-04-24 00:20:40 +00:00
parent 97510bd0ab
commit 9f463820c2
1 changed files with 3 additions and 4 deletions

View File

@ -611,10 +611,9 @@ class Chat:
if gajim.config.get('print_time') == 'always': if gajim.config.get('print_time') == 'always':
if not tim: if not tim:
tim = time.localtime() tim = time.localtime()
self.before_time_symbols = gajim.config.get('before_time') before_str = gajim.config.get('before_time')
self.after_time_symbols = gajim.config.get('after_time') after_str = gajim.config.get('after_time')
format = self.before_time_symbols + '%H:%M:%S' + \ format = self.before_str + '%H:%M:%S' + self.after_str
self.after_time_symbols
tim_format = time.strftime(format, tim) tim_format = time.strftime(format, tim)
buffer.insert(end_iter, tim_format + ' ') buffer.insert(end_iter, tim_format + ' ')