flake8 fixes
James Cameron
4 years ago
245 | 245 | if self.active_log is None: |
246 | 246 | try: |
247 | 247 | 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 | |
250 | 250 | 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 | |
253 | 253 | log = self.logs[logfile] |
254 | 254 | self._textview.set_buffer(log) |
255 | 255 | self._textview.scroll_to_mark( |