remove unnecessary variable registered in self
This commit is contained in:
parent
97510bd0ab
commit
9f463820c2
|
@ -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 + ' ')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue