Skip to content

Commit

Permalink
comment out erroneous config variable access reported in f336e3f#comm…
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Kunz committed Jun 13, 2019
1 parent f336e3f commit 4e54ea9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions txDevNews.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def on_modified(self, event):
self._last_path = path
self._last_text = text
if text:
if self._print_path:
path = path[:-4].replace('\\', '/')
text = path + '\r\n' + '='*len(path) + '\r\n' + text
# if self._print_path: # FIXME: this breaks due to attempting to access outer class (oversight), removed pending a suitable way to access config statically
# path = path[:-4].replace('\\', '/')
# text = path + '\r\n' + '='*len(path) + '\r\n' + text
self._news_buffer.append(text)
except:
pass
Expand Down

0 comments on commit 4e54ea9

Please sign in to comment.