Codebase list sugar-log-activity / cb88e79
flake8 fixes James Cameron 4 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
245245 if self.active_log is None:
246246 try:
247247 direc, filename = os.path.split(logfile)
248 self.first_file_open = time.ctime(float(direc)) + \
249 '|' + filename
248 self.first_file_open = \
249 time.ctime(float(direc)) + '|' + filename
250250 except ValueError:
251 self.first_file_open = env.get_profile_path('logs') + \
252 '|' + logfile
251 self.first_file_open = \
252 env.get_profile_path('logs') + '|' + logfile
253253 log = self.logs[logfile]
254254 self._textview.set_buffer(log)
255255 self._textview.scroll_to_mark(