Browse Source

fix log

master
Nils 4 years ago
parent
commit
1d78cb5a7c
  1. 2
      engine/nsmservercontrol.py

2
engine/nsmservercontrol.py

@ -584,7 +584,7 @@ class NsmServerControl(object):
if len(self._queue) == 1 and self._queue[0].oscpath == "/nsm/gui/gui_announce" and self._queue[0].params == ["hi"]:
self._queue.clear()
else:
logging.error("For ValueError below:", [(m.oscpath, m.params) for m in self._queue])
logging.error(f"For ValueError below: {[(m.oscpath, m.params) for m in self._queue]}")
raise ValueError("We were expecting a clean _queue with only 'hi' as leftover, but instead there were unhandled messages. see print above. Better abort than a wrong program state")
#all ok

Loading…
Cancel
Save