Browse Source

more debug code in filterChanged

dev
Clemens Richter 9 years ago
parent
commit
2c01ce2451
  1. 8
      python/tmc_parser.py

8
python/tmc_parser.py

@ -290,9 +290,15 @@ class tmc_parser_Widget(QtGui.QWidget):
print("filterChanged:",end="") print("filterChanged:",end="")
self.logMutex.acquire(1) self.logMutex.acquire(1)
print("got mutex,",end="") print("got mutex,",end="")
ef=""
lf=""
try:
ef=unicode(self.event_filter.text().toUtf8(), encoding="UTF-8").lower() ef=unicode(self.event_filter.text().toUtf8(), encoding="UTF-8").lower()
lf=unicode(self.location_filter.text().toUtf8(), encoding="UTF-8").lower() lf=unicode(self.location_filter.text().toUtf8(), encoding="UTF-8").lower()
except Exception as e:
print(e)
print("error getting filter strings")
code.interact(local=locals())
print("read filters,",end="") print("read filters,",end="")
self.logOutput.clear() self.logOutput.clear()
print("cleared,",end="") print("cleared,",end="")

Loading…
Cancel
Save