You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the new feature more precisely.
Add a parameter to find_one_brick and find_bricks to disable preliminary error
output. (Such as USB not available) Of course, keep the catchall that throws an
official error. Another option would be to have a global nxt module variable
that specifies if output is requested.
Why do you think it's important?
It would allow automated programs to look more professional and output their
own error codes.
Any ideas on how to implement it?
Just add a parameter output=True to the functions, and have find_one_brick pass
to find_bricks. All outputs would then be wrapped with an if block.
Please provide any additional information below.
This is a quick and low priority change that does not change the overall
function of the program at all.
Original issue reported on code.google.com by Zonedab...@gmail.com on 11 Nov 2010 at 2:58
The text was updated successfully, but these errors were encountered:
Good idea; I will be looking at this and probably set it so that it only prints
it if a "debug" option is passed (and perhaps add more messages as well).
Original comment by marcus@wanners.net on 11 Nov 2010 at 3:06
Original issue reported on code.google.com by
Zonedab...@gmail.com
on 11 Nov 2010 at 2:58The text was updated successfully, but these errors were encountered: