Skip to content
Snippets Groups Projects
Commit e6dccaf1 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tools/pyboard.py: Make -c (inline Python code) option compatible with python2.

parent ae580355
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ def main():
sys.exit(1)
if args.command is not None:
execbuffer(bytes(args.command, 'utf-8'))
execbuffer(args.command.encode('utf-8'))
for filename in args.files:
with open(filename, 'rb') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment